diff --git a/apps/apps.yaml b/apps/apps.yaml new file mode 100644 index 0000000..4c84034 --- /dev/null +++ b/apps/apps.yaml @@ -0,0 +1,3 @@ +hello_world: + module: hello + class: HelloWorld diff --git a/apps/hello.py b/apps/hello.py new file mode 100644 index 0000000..1d71881 --- /dev/null +++ b/apps/hello.py @@ -0,0 +1,7 @@ +from appdaemon.plugins.hass.hassapi import Hass + + +class HelloWorld(Hass): + def initialize(self): + # self.set_state(entity_id='input_boolean.enable', state='on') + self.log('Hello World')