From 0088021b81590f0e21bcc92f7c9b8c5297269498 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Wed, 26 Apr 2023 00:19:36 -0500 Subject: [PATCH] added hello world for testing --- apps/apps.yaml | 3 +++ apps/hello.py | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 apps/apps.yaml create mode 100644 apps/hello.py 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')