formatting
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
from appdaemon.adapi import ADAPI
|
from appdaemon.adapi import ADAPI
|
||||||
|
|
||||||
|
|
||||||
class Child(ADAPI):
|
class Child(ADAPI):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.log(f"{self.__class__.__name__} Initialized")
|
self.log(f'{self.__class__.__name__} Initialized')
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
from appdaemon.adapi import ADAPI
|
from appdaemon.adapi import ADAPI
|
||||||
|
|
||||||
|
|
||||||
class GrandParent(ADAPI):
|
class GrandParent(ADAPI):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.log(f"{self.__class__.__name__} Initialized")
|
self.log(f'{self.__class__.__name__} Initialized')
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
from appdaemon.adapi import ADAPI
|
from appdaemon.adapi import ADAPI
|
||||||
|
|
||||||
|
|
||||||
class Parent(ADAPI):
|
class Parent(ADAPI):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.log(f"{self.__class__.__name__} Initialized")
|
self.log(f'{self.__class__.__name__} Initialized')
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ from appdaemon.adapi import ADAPI
|
|||||||
|
|
||||||
from child import Child
|
from child import Child
|
||||||
|
|
||||||
|
|
||||||
class Sibling(Child):
|
class Sibling(Child):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.log(f"{self.__class__.__name__} Initialized")
|
self.log(f'{self.__class__.__name__} Initialized')
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ from appdaemon.adapi import ADAPI
|
|||||||
|
|
||||||
class HelloWorld(ADAPI):
|
class HelloWorld(ADAPI):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.log(f"{self.__class__.__name__} Initialized")
|
self.log(f'{self.__class__.__name__} Initialized')
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ from appdaemon.adapi import ADAPI
|
|||||||
|
|
||||||
class SimpleApp(ADAPI):
|
class SimpleApp(ADAPI):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.log(f"{self.__class__.__name__} Initialized")
|
self.log(f'{self.__class__.__name__} Initialized')
|
||||||
|
|||||||
Reference in New Issue
Block a user