You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an add-on for home assistant that is designed to let you run custom python automation scripts, but you don't have to interact with home assistant at all. It's a convenient place for me to run this script mainly.
Basically to run a script under AppDaemon, you need this:
import hassapi as hass
class OutsideLights(hass.Hass):
def initialize(self):
code code code
It must import the class then init it with the hass object. When running straight from CLI I had to bodge it to use main instead, and remove that hassapi import (which I don't have on my local machine)
Not sure what AppDaemon is, but we can make the code handle it if you can describe what it does differently than from just running from main.
The text was updated successfully, but these errors were encountered: