#Lutron Aurora dimmer click
1 messages · Page 1 of 1 (latest)
description: ''
trigger:
- platform: event
event_type: state_changed
event_data:
entity_id: sensor.foyer_dimmer_action
condition:
- condition: template
value_template: >-
{{ (trigger.event.data.new_state.attributes.brightness == 0 and
trigger.event.data.old_state.attributes.brightness != 0) or
(trigger.event.data.new_state.attributes.brightness != 0 and
trigger.event.data.old_state.attributes.brightness == 0) }}
action:
- service: light.toggle
data: {}
target:
entity_id: light.livingroom_all_lights
mode: single
Thanks!
I can get the light to toggle on/off with the button (action)
but turning the dimmer will turn the light off (or set brightness to 0)
Were you able to get the dimmer to adjust the brightness when you turn the dial?
Brightness on mine goes to 2 when I dim it, it only hits 0 when the button is pressed.
I use this to dim it while ignoring clicks. ```alias: Foyer Dimmer
description: ''
trigger:
- platform: event
event_type: state_changed
event_data:
entity_id: sensor.foyer_dimmer_action
condition: - condition: template
value_template: >
{{ this.attributes.current == 0 and (
trigger.event.data.new_state.attributes.brightness != 0 and
trigger.event.data.old_state.attributes.brightness != 0 ) }} - condition: template
value_template: '{{ trigger.event.data.new_state.attributes.action == ''brightness'' }}'
action: - data_template:
brightness_pct: >-
{{ state_attr("sensor.foyer_dimmer_brightness",'brightness') / 255 * 100
| float}}
entity_id: light.livingroom_all_lights
service: light.turn_on
mode: single
If your bulbs are all zigbee I think you can directly connect the dimmers to the bulbs so they don't need to go through the coordinator, makes the device more responsive.
Half of my bulbs are WiZ bulbs so I need it to go through HA. The WiZ bulbs hit the right quality/price point for me, though they're not quite as reliable as Zigbee.
I'm using all Zigbee bulbs. I had a Lutron device that I paired directly with a bulb and it worked great. Then I paired it with 2 bulbs and they both worked great, but I couldn't unpair the original test bulb. So every time I used the Dimmer it would engage with all 3 - no matter what I tried to do (fty reset, unpair, etc).
So now I'm trying with a fresh Lutron dimmer and only pairing to my Z2M, and hoping to find the right automations/blueprints to do the same on/off and dimming.
The combination of the 2 automations is working for the on/off and the dimming/dial turning. The dimming isn't smooth but I think the automation can be tweaked to include "transition" that will smooth it out
And there's a couple misfires with on/off depending on a couple variable, but I haven't played with it enough to see if it's just network congestion, or device sensitivity, or the automation getting in its own way.
Thank you SO much for your help with this. I'll probably end up bugging you more if I learn anything else or have questions
DrInfernoo is also willing to help troubleshoot the blueprint he made for this device, and if we can get it working for the newer models I'll let you know!
👍