Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- platform: template
- sensors:
- unifiusg:
- friendly_name: UniFi USG
- entity_id: binary_sensor.unifi_usg
- value_template: >-
- {% if is_state('binary_sensor.unifi_usg', 'on') %}
- Online
- {% else %}
- Offline
- {% endif %}
- unifickg2:
- friendly_name: UniFi CKG2
- entity_id: binary_sensor.unifi_controller
- value_template: >-
- {% if is_state('binary_sensor.unifi_controller', 'on') %}
- Online
- {% else %}
- Offline
- {% endif %}
- unifiswitch:
- friendly_name: UniFi Switch
- entity_id: binary_sensor.unifi_16_switch
- value_template: >-
- {% if is_state('binary_sensor.unifi_16_switch', 'on') %}
- Online
- {% else %}
- Offline
- {% endif %}
- unifiap:
- friendly_name: UniFi AP's
- entity_id: binary_sensor.unifi_ap_up
- value_template: >-
- {% if is_state('binary_sensor.unifi_ap_up', 'on') %}
- Online
- {% else %}
- Offline
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement