This would be paired with a recurring task in home-app that just calls send_to_plugin_runner every minute with the timestamp. (I have that code working and will make a PR tomorrow.)
This PR also makes the distinction between a protocol and other, non-protocol event handlers. A CronTask is not a protocol. It is an event handler that responds to the CRON event, and expects a SCHEDULE constant and an execute method to be defined.
This would be paired with a recurring task in home-app that just calls send_to_plugin_runner every minute with the timestamp. (I have that code working and will make a PR tomorrow.)
This PR also makes the distinction between a protocol and other, non-protocol event handlers. A CronTask is not a protocol. It is an event handler that responds to the CRON event, and expects a SCHEDULE constant and an execute method to be defined.