Housekeeping. Mispellings and some fine tuning.

This commit is contained in:
CCOSTAN
2017-02-08 21:37:56 +00:00
parent 588065c18c
commit 52958fabd9
4 changed files with 9 additions and 2 deletions

View File

@@ -135,6 +135,13 @@ command_on: "/var/www/html/rfoutlet/codesend 4543795 -l 177 -p 0"
friendly_name: 'Deadbolt Status:'
#Handy Little Set trick
{% for entity_id in states.group.my_group.attributes.entity_id %}
{% set domain = entity_id.split('.')[0] %}
{% set entity = entity_id.split('.')[1] %}
Temperature: {{ states[domain][entity].attributes.temperature }}
{% endfor %}
```