added restaurant
This commit is contained in:
7
conf/apps/restaurant/restaurant.py
Normal file
7
conf/apps/restaurant/restaurant.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
from food import Eggs
|
||||
|
||||
class Restaurant(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'{self.__class__.__name__} initialized with {Eggs}')
|
||||
3
conf/apps/restaurant/restaurant.yaml
Normal file
3
conf/apps/restaurant/restaurant.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
my_restaurant:
|
||||
module: restaurant
|
||||
class: Restaurant
|
||||
Reference in New Issue
Block a user