I have only recently reinstalled Home Assistant in a Virtual Machine on a Synology NAS.
I re-created all my entries from scratch since my initial setup had a lot of junk floating around and I just thought it would be good to start from scratch.
I got almost everything up and running relatively quickly and I have implemented some new features now that I’m upgraded, but something that is puzzling me is that I have had an automation setup now since I did the reinstall over a week ago.
I have a Philips Hue integration and one set of lights are set up in a trio of lights.
I have had this automation:
alias: Lights Lounge Hue On/Off
description: ''
trigger:
- platform: state
entity_id: switch.loungewallplate_lhue
action:
- service: 'light.turn_{{ trigger.to_state.state }}'
entity_id: light.tri
mode: single
But for some reason this morning the light.tri
entity has not been available. TBH I don’t know where it came from since the three lights are called 'light.tri_1,
light.tri_2, and
light.tri_3`.
Somehow there was some sort of grouping of the three lights into a single: light.tri
which for whatever reason has now vanished.
I have re-edited the script to make it work by adding the three entities, I just don’t understand 1) where the tri
entity went, and especially 2) where it initially came from! LOL
alias: Lights Lounge Hue On/Off
description: ''
trigger:
- platform: state
entity_id: switch.loungewallplate_lhue
action:
- service: 'light.turn_{{ trigger.to_state.state }}'
entity_id:
- light.tri_1
- light.tri_2
- light.tri_3
mode: single