@PostHumanGod wrote:
My GE 14294 Dimmers have the annoying property of saving the brightness level when dimmed. I came up with the following automation which “worked” leveraging the double-tap (I made the group association to enable double click). Double-tap up worked to set the light to full brightness as desired, double-tap off doesn’t work… but while annoying I can live with that unless someone has a fix.
So I’m looking for help with two things:
- How to make this also turn off the light all the way with a double click off?
- How to modify this so to be a single automation that can be applied to every dimmer switch, individually? Meaning, I don’t want to control both office_ceiling and bedroom_ceiling (e.g. two different switches, I actually have about 10) at the same time… I just want to avoid having to make 10 duplicate automations, 1 for every switch. I tried making entity_id into a list, that broke it. It would need to listen to multiple events (for different entities), determine which one actually triggered it (via a filter?) and then run the action for only the triggering entity.
Current, working* code:
- id: double_tap_office alias: Dimmer Double Tap trigger: - event_data: entity_id: zwave.office_ceiling event_type: zwave.node_event platform: event action: - data_template: brightness: 255 entity_id: light.office_ceiling service_template: {% if trigger.event.data.basic_level == 255 %} light.turn_on {% elif trigger.event.data.basic_level == 0 %} light.turn_off <--- This doesn't seem to happen. {% endif %}
Posts: 2
Participants: 1