mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Corrected template examples (#10114)
Template examples were incorrectly quoted.
This commit is contained in:
parent
4ce2550e2c
commit
de1c436802
@ -89,13 +89,13 @@ sensor:
|
|||||||
sensors:
|
sensors:
|
||||||
garage_door_status:
|
garage_door_status:
|
||||||
friendly_name: 'State of the door'
|
friendly_name: 'State of the door'
|
||||||
value_template: '{{ states('cover.garage_door') }}'
|
value_template: "{{ states('cover.garage_door') }}"
|
||||||
garage_door_time_in_state:
|
garage_door_time_in_state:
|
||||||
friendly_name: 'Since'
|
friendly_name: 'Since'
|
||||||
value_template: '{{ state_attr('cover.garage_door', 'time_in_state') }}'
|
value_template: "{{ state_attr('cover.garage_door', 'time_in_state') }}"
|
||||||
garage_door_wifi_signal_strength:
|
garage_door_wifi_signal_strength:
|
||||||
friendly_name: 'WiFi strength'
|
friendly_name: 'WiFi strength'
|
||||||
value_template: '{{ state_attr('cover.garage_door', 'wifi_signal_strength') }}'
|
value_template: "{{ state_attr('cover.garage_door', 'wifi_signal_strength') }}"
|
||||||
unit_of_measurement: 'dB'
|
unit_of_measurement: 'dB'
|
||||||
|
|
||||||
group:
|
group:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user