Alexey ALERT Rubashёff
Alexey ALERT Rubashёff
@craigbarratt this one is for you
similar to https://github.com/custom-components/pyscript/issues/783 you are importing the homeassistant code, pyscript has nothing to do with it.
This should look something like this: ```python @time_trigger("cron(0 8 * * 1-5)") # 8:00 AM on weekdays (Mon-Fri) def notify_kids_lights(trigger_time = None, trigger_type = None, **kwargs): # Check if any...
@dmamelin your part of the code :) thank you
your answer seems to be here: https://hacs-pyscript.readthedocs.io/en/stable/reference.html#trigger-closures
This PR did not break anything for me, it seems.