This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# There are three ways you can add your sensors to Home Assistant, and they all start in the configuration.yaml file | |
# | |
# First you can just add them directly: | |
sensor: | |
- platform: | |
name: | |
# Or you can create a seperate file like sensors.yaml, | |
# you will need to of course create the sensors.yaml file first but add this to your configuration.yaml: | |
sensor: !include sensor.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script: | |
get_room_services: | |
sequence: | |
- variables: | |
room: > | |
{% if room is defined %} | |
{{ room }} | |
{% else %} | |
{{ states('sensor.room_audio') }} | |
{% endif %} |
OlderNewer