15 lines
345 B
Python
15 lines
345 B
Python
from appdaemon.plugins.hass.hassapi import Hass
|
|
from automationlib import AutomationLib
|
|
|
|
|
|
class Test(Hass):
|
|
"""This is the documentation for Test"""
|
|
|
|
def initialize(self):
|
|
"""."""
|
|
|
|
self.lib = AutomationLib(self)
|
|
self.log('-' * 72)
|
|
self.log(f'Day of the week: {self.lib.dow()}')
|
|
self.log('-' * 72)
|