added some more examples
This commit is contained in:
@@ -2,10 +2,19 @@ from typing import Any
|
||||
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
# fake_name.get()
|
||||
|
||||
# if:
|
||||
# OUtisde&sdf'asdfasdf'<txF> asdfasdfom some html</.dstd>
|
||||
|
||||
# fake/
|
||||
# SimpleApp
|
||||
|
||||
class HelloWorld(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'{self.__class__.__name__} Initialized')
|
||||
self.log('+' * 50)
|
||||
# fake
|
||||
self.register_service("my_domain/my_exciting_service", self.my_exciting_cb)
|
||||
|
||||
def my_exciting_cb(self, *args: str, my_arg: int = 0, **kwargs: Any) -> Any:
|
||||
|
||||
Reference in New Issue
Block a user