Hi all!
I have just moved, and I am in the process of redoing a lot of my home assistant configuration. I want my home assistant to be even better than before, and have a plan to use the updated scenes to dynamically update the current scene if someone by hand changes the dim level or similar in a room.
I planned to make one area per room, one scene per room. The scene changes based on time of day, and gets updated for the current day if the an entity is changed in the room.
To make this easier to maintain and setup. I wanted to trigger on any state change on any entity in an area, realized this was not possible without some workarounds.
That was the background to why I want to do the following:
I found the “File” integration that can write to a file, is it possible to write all entities in an area as a list? (to be able to use !include) I am thinking this might be possible with templates, but I can not find any info regarding areas and templates. Any ideas of how to achive this?