Prepare for appdaemon

This commit is contained in:
Thomas Lovén 2018-12-26 00:47:21 +01:00
parent 7a5308c502
commit 06e4fbcbdb
3 changed files with 20 additions and 0 deletions

4
.gitignore vendored
View File

@ -3,3 +3,7 @@
!.gitignore !.gitignore
!configuration.yaml !configuration.yaml
!packages/ !packages/
**/__pycache__/
!/appdaemon/
/appdaemon/*
!/appdaemon/apps

12
appdaemon/apps/hello.py Normal file
View File

@ -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!")

View File

@ -0,0 +1,4 @@
hello_world:
module: hello
class: HelloWorld