mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 06:46:58 +00:00
Fix link to image
This commit is contained in:
parent
5eb70fc800
commit
d9b60a9cd3
@ -47,10 +47,9 @@ If provided, the **access_token** will be used, otherwise the **username** and *
|
|||||||
|
|
||||||
**Example with more detail:**
|
**Example with more detail:**
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/source/images/components/garadget/cover_garadget_details.png' />
|
<img src={{site_root}}/images/components/garadget/cover_garadget_details.png' />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% raw %}
|
|
||||||
```yaml
|
```yaml
|
||||||
# Related configuration.yaml entry
|
# Related configuration.yaml entry
|
||||||
cover:
|
cover:
|
||||||
@ -65,13 +64,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.state }}'
|
value_template: {% raw %}'{{ states.cover.garage_door.state }}'{% endraw %}
|
||||||
garage_door_time_in_state:
|
garage_door_time_in_state:
|
||||||
friendly_name: 'Since'
|
friendly_name: 'Since'
|
||||||
value_template: '{{ states.cover.garage_door.attributes["time in state"] }}'
|
value_template: {% raw %}'{{ states.cover.garage_door.attributes["time in state"] }}'{% endraw %}
|
||||||
garage_door_wifi_signal_strength:
|
garage_door_wifi_signal_strength:
|
||||||
friendly_name: 'WiFi strength'
|
friendly_name: 'WiFi strength'
|
||||||
value_template: '{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'
|
value_template: {% raw %}'{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'{% endraw %}
|
||||||
unit_of_measurement: 'dB'
|
unit_of_measurement: 'dB'
|
||||||
|
|
||||||
group:
|
group:
|
||||||
@ -89,4 +88,4 @@ customize:
|
|||||||
sensor.garage_door_wifi_signal_strength:
|
sensor.garage_door_wifi_signal_strength:
|
||||||
icon: mdi:wifi
|
icon: mdi:wifi
|
||||||
```
|
```
|
||||||
{% endraw %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user