I wants to create an HADashboard widget, which will run a scene / sequence / event.
For example a “Good Night” widget that will run the following sequence:
First turn_off “kitchen light”
And then turn_off “Living room AC” (by sending a code IR through Broadlink)
etc’
I also want to create the scene / sequence using the AppDaemon (python script).
How should I do it ?
There is a simple example that I can learn from it ?
I see… @tjntomas
Thanks.
It’s looks like that the official hass.io addon for AppDaemon is version 3.0 for now,
I’ll wait for the AppDaemon 4.0.0 to be official hass.io addon .
You may create a app in appdaemon to do what you want but. I dont know how to call a app from the dashboard directly… maybe using a event.
To send a IR code you will have to call the broadlink.send from your appdaemon app. It should look something like this:
self.call_service(“broadlink/send”, host = “192.168.1.x”, packet = “<IR_STRING>”)