added food.meal

This commit is contained in:
John Lancaster
2024-08-10 14:11:45 -05:00
parent 2968c30dda
commit d5714808ed
4 changed files with 40 additions and 18 deletions

View File

@@ -1,7 +1,10 @@
from appdaemon.adapi import ADAPI
from food import Eggs
from food.meal import Meal
class Restaurant(ADAPI):
def initialize(self):
self.log(f'{self.__class__.__name__} initialized with {Eggs}')
meal = Meal()
eggs: Eggs = meal.dishes[0]
self.log(f'{self.__class__.__name__} initialized with {eggs}')