more complexity in the test cases

This commit is contained in:
John Lancaster
2024-08-09 17:54:20 -05:00
parent 03ebbcc1f0
commit 24dd2bfd3a
26 changed files with 140 additions and 507 deletions

View File

@@ -0,0 +1,13 @@
import arrow
from appdaemon.adapi import ADAPI
class AutomationLib:
"""This is the documentation for AutomationLib"""
def __init__(self, ad: ADAPI) -> None:
self.ad = ad
self.ad.log(f"AutomationLib initialised for app '{self.ad.name}'", level='DEBUG')
def dow(self):
return arrow.now().isoweekday()