diff --git a/appdaemon/apps/apps.yaml b/appdaemon/apps/apps.yaml deleted file mode 100644 index daff739..0000000 --- a/appdaemon/apps/apps.yaml +++ /dev/null @@ -1,4 +0,0 @@ -hello_world: - module: hello - class: HelloWorld - diff --git a/appdaemon/apps/hello.py b/appdaemon/apps/hello.py deleted file mode 100644 index 96a6447..0000000 --- a/appdaemon/apps/hello.py +++ /dev/null @@ -1,43 +0,0 @@ -import base - -class HelloWorld(base.Base): - - def initialize(self): - super().initialize() - - self.log("Hello from AppDaemon") - self.log("You are now ready to run Apps!") - - # self.run_in('test1', self.after_time, 3) - # self.run_in('test2', self.after_time2, 7) - # # self.run_in(self.after_time2, 7) - # # self.cancel_timer('test2') - - # self.register_entity('taklampa', 'light.kontoret') - # self.e['taklampa'].listen(self.light_changes) - - # self.register_entity('dark', 'switch.tod2', True, "on", { - # 'icon': 'mdi:lightbulb', - # 'friendly_name': 'TEST'}) - # self.e['dark'].listen(self.switch) - - # def switch(self, old, new, kwarg): - # self.log(f"Switch switched {self.e['dark'].state}") - - # def light_changes(self, old, new, kwarg): - # self.log("Light changed!") - # self.log(f"State is {self.e['taklampa'].state}") - - # def after_time(self, kwargs): - # self.log("Running function") - # self.e['taklampa'].attr['icon'] = "mdi:lamp" - # # self.e['taklampa'].state = "off" - # self.e['taklampa'].push() - # self.log(f"State is {self.e['taklampa'].state}") - # def after_time2(self, kwargs): - # self.log("Running function2") - # self.e['taklampa'].attr.pop('icon') - # # self.e['taklampa'].state = "on" - # self.e['taklampa'].push() - - # self.log(f"State is {self.e['taklampa'].state}") diff --git a/appdaemon/apps/helloworld.yaml b/appdaemon/apps/helloworld.yaml deleted file mode 100644 index 507d1ea..0000000 --- a/appdaemon/apps/helloworld.yaml +++ /dev/null @@ -1,7 +0,0 @@ -hello_world: - global_dependencies: - - base - - entities - module: hello - class: HelloWorld -