Hello,
I have a Niko Zigbee Dimmer Switch with Enocean technology (doesn’t require batteries). It is linked through Conbee and Phoscon to Home Assistant.
Switching lights on and off through the switches works fine.
To perform dimming, I tried to follow these instructions from Smart Home Junkie: Dim Lights THE RIGHT WAY In Home Assistant - TUTORIAL but it doesn’t work for me as expected. It seems that an endless loop is somehow entered and the only thing I can do is to disable the automation.
For Dim Down, I have this (it is the Yaml version of the HA automation, not something I invented myself !!). Only placed Dim Down here, Dim Up is basically the same.
alias: Koffer Dim Down Button (Lang Indrukken)
description: Helderheid omlaag van spots boven koffer in woonkamer
trigger:
- device_id: 4cd55959897db94a180fc05327fbd00a
domain: deconz
platform: device
type: remote_button_long_press
subtype: button_2
id: Dim Down Btn
- device_id: 4cd55959897db94a180fc05327fbd00a
domain: deconz
platform: device
type: remote_button_long_release
subtype: button_2
id: Dim Down Btn Released
condition:
- condition: trigger
id:
- Dim Down Btn
action:
- repeat:
sequence:
- device_id: 7bfb6841adb514f445977def79ef3bb7
domain: light
entity_id: a80f267802e1177270c8d21621e3fa9b
type: brightness_decrease
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 200
while:
- condition: trigger
id:
- Dim Down Btn
mode: restart
Many thanks for helping me out !