Image source changed and {% raw %} {% endraw %} added. (#1443)

* Image source changed and {% raw %} {% endraw %} added.

* Image added.
This commit is contained in:
Michel Settembrino 2016-11-15 08:39:21 +01:00 committed by Fabian Affolter
parent 441a14f816
commit 749c88e025
2 changed files with 47 additions and 0 deletions

View File

@ -43,3 +43,50 @@ Configuration variables:
If provided, the **access_token** will be used, otherwise the **username** and **password** will be used to automatically generate an access token at start time.
**Example with more detail:**
<p class='img'>
<img src='/source/images/components/garadget/cover_garadget_details.png' />
</p>
{% raw %}
```yaml
# Related configuration.yaml entry
cover:
platform: garadget
covers:
190028001947343412342341:
access_token: !secret garadget_access_token
name: Garage door
sensor:
platform: template
sensors:
garage_door_status:
friendly_name: 'State of the door'
value_template: '{{ states.cover.garage_door.state }}'
garage_door_time_in_state:
friendly_name: 'Since'
value_template: '{{ states.cover.garage_door.attributes["time in state"] }}'
garage_door_wifi_signal_strength:
friendly_name: 'WiFi strength'
value_template: '{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'
unit_of_measurement: 'dB'
group:
garage_door:
name: Garage door
entities:
- cover.garage_door
- sensor.garage_door_status
- sensor.garage_door_time_in_state
- sensor.garage_door_wifi_signal_strength
customize:
sensor.garage_door_time_in_state:
icon: mdi:timer-sand
sensor.garage_door_wifi_signal_strength:
icon: mdi:wifi
```
{% endraw %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB