Actually I was trying to improve the vacation ligthing blueprint
at the moment I have 18 lights, and because of some renamings of entities I found that my config was broken.
and I thought it would be much simpler if I could improve one and onther.
So my input of the blueprint would be my history_stats
input:
vacation_mode_toggle:
name: Vacation Mode - Input Boolean
selector:
entity:
domain: input_boolean
replay_sensors:
name: replay_sensors
description: replay_sensors
selector:
entity:
domain:
- sensor
multiple: true
then depending on the selected stat, a light of switch should toggle.
the one related to entity_id
so my input would be: sensor.replay_lamp_milan
and the result switch.lamp_milan
so something like this: {{ state_attr('sensor.replay_lamp_milan','entity_id') }}
but not state_atrr
because that one doesn’t know entity_id