@JBS wrote:
Using a few Hue Dimmer Switches to switch lights on/off and dim up/dowm them with HA automations like below (dim up in this case). This works with lights paired to a Conbee using deCONZ, but did not work for a light which are paired to a Tradfri Hub which is added to HA as an integration. I know, the Tradfri Hub is not necessary when using a Conbee, but I am testing some things at the moment
Anyone able to share a working HA automation for dimming lights paired to a Tradfri Hub?
- alias: Spots logeerkamer Hue dimmer omhoog initial_state: true trigger: - event_data: event: 2002 id: dimmer_switchlogeerkamer event_type: deconz_event platform: event action: - service: light.turn_on data_template: entity_id: light.logeerkamer brightness: '{% set bri = states.light.logeerkamer.attributes.brightness | int %} {{ [bri+30, 249] | min }}
Posts: 2
Participants: 2