thanks a lot for your response, and congratulations for your work.
What i was trying to say is if that is a simple way that i can do something like that:
I am in the living-room and i use my my E-1810 to control the lights, then i go to the bed-room and then i use some other switch to triggers an automation that make the same E-1810 to disable the control of living-room lights and enable the control of bed-room lights.
I understand now, sorry. There is a thing in AppDaemon called Callback constrains and the Hass plugin provides one called constrain_input_boolean where an input boolean can be passed and it can turn on or off the callbacks. I have never tried this, but I guess this would work in your case. You can find the info in here https://appdaemon.readthedocs.io/en/latest/APPGUIDE.html?highlight=constraint#hass-plugin-constraints
Hey @finipini, I quickly try this callback constrain with a HA switch, it does work with any entity that has on/off as state I imagine. What you are saying it is a really good idea, one controller could be used for different things depending on you are. In fact, you can use an input_select instead of input_boolean. The config in apps.yaml would look something like this:
My problem is that the input_select that i create in apps.yaml, for HA frontend doesnt exist.
Maybe i need something in the configuration of appDaemon.
Wow youāre fast! I spent some time looking for my HUSBZB-1 as itās been awhile since Iāve used it. Will test as soon as I can and give you some feedback.
Side question, I have a Surface Dial and was also wondering if that would be possible to integrate. Iām guessing it doesnāt make sense for this component since itās Bluetooth but thought Iād ask anyway.
Thanks again for setting up the ZHA support, looking forward to using it!
How does the surface dial communicate with HA? Through state/state attributes or events? It does no matter the technology that uses behind, controllerx it connects only to Home assistant, so if home assistant is able to detect, it should be easy to integrate. However, I would need more details for that. If you are interested, please open an issue and we can discuss in there.
I am doing something wrong and after trying every combination I can think of, perhaps you can point me in the right direction!?
Iām running the latest Hassio with Appdaemon on a Pi 4 using the DeConz add-on with a Conbee II.
Everything runs normally.
Iām trying to connect the Ikea Tradfri Remote Control E1810 with an Ikea color temperature light.
Where Iām stuck is finding the correct āsensorā for the apps.yaml entry.
The only sensor entry I can see for the tradfri remote is the battery reading:
sensor.tradfri_remote_control_battery_level
Iāve tried that entry appending: _action, plus _click. The same with ātradfri_remote_controlā. I also used the deconz_event unique id is both forms.
I see the same message in the logs
WARNING livingroom_controller: livingroom_controller: Entity sensor.tradfri_remote_control_click not found in namespace default
What you are doing wrong is that you are looking for sensor, but the deCONZ integration works with events, so you will need the id for the device. You can find it by going to developer tools > events and down the bottom type deconz_event and start listening. Then, you can click any button and you will see a JSON and you will find a field id inside data. That is the value you should add in the event_id parameter.
Apologies for the off topic question, but do you have any tips on pairing the Ikea dial with HUSBZB-1? I tried several combos of 4 taps on the dial and hitting the add device button in the ZHA config but with no luck. The red light on the dial blinks a couple of times after the first few presses, is it supposed to turn solid red?