diff --git a/.gitignore b/.gitignore index 309f1ad..4987828 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,7 @@ !.gitignore !configuration.yaml !packages/ +**/__pycache__/ +!/appdaemon/ +/appdaemon/* +!/appdaemon/apps diff --git a/appdaemon/apps/hello.py b/appdaemon/apps/hello.py new file mode 100644 index 0000000..0ef8f01 --- /dev/null +++ b/appdaemon/apps/hello.py @@ -0,0 +1,12 @@ +import appdaemon.plugins.hass.hassapi as hass +# +# Hellow World App +# +# Args: +# + +class HelloWorld(hass.Hass): + + def initialize(self): + self.log("Hello from AppDaemon") + self.log("You are now ready to run Apps!") diff --git a/appdaemon/apps/helloworld.yaml b/appdaemon/apps/helloworld.yaml new file mode 100644 index 0000000..daff739 --- /dev/null +++ b/appdaemon/apps/helloworld.yaml @@ -0,0 +1,4 @@ +hello_world: + module: hello + class: HelloWorld +