I have a multiple IKEA tradfri remotes attached to deconz and I want write once the logic to dim lights.
After some searches I discover the AppDaemon solution and this is the results of my draft works.
I have installed the plugin provided by community addons
Basically this component exposes some properties to the caller: in apps.yaml there is the wiring between the appdaemon app and entities
In this case we have 2 apps attached to the same devices:
- the 1st control brightness with UP and DOWN buttons
- the 2nd control color temperature with LEFT and RIGT buttons