.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.data.services.automations ====================================== .. automodule:: flexmeasures.data.services.automations .. rubric:: Functions .. autofunction:: claim_due_automation .. autofunction:: collect_schedule_output_sensors .. autofunction:: collect_sensors .. autofunction:: create_automation .. autofunction:: delete_automation .. autofunction:: describe_cronstr .. autofunction:: floor_to_minute .. autofunction:: floor_to_resolution .. autofunction:: get_automation_job_stats .. autofunction:: get_automation_last_run .. autofunction:: get_automation_sensors .. autofunction:: get_automations_feeding_sensor .. autofunction:: get_automations_involving_sensor .. autofunction:: get_due_automations .. autofunction:: get_forecast_output_sensor .. autofunction:: get_latest_scheduled_run .. autofunction:: get_next_scheduled_run .. autofunction:: prepare_report_parameters .. autofunction:: prepare_schedule_trigger_message .. autofunction:: record_automation_run .. autofunction:: resolve_automation_sensors .. autofunction:: resolve_schedule_automation_sensors .. autofunction:: resolve_schedule_generator .. autofunction:: run_automation .. autofunction:: sensors_automation_job_may_record_on .. autofunction:: update_automation .. autofunction:: validate_automation_output_scope .. autofunction:: validate_offset_chain .. rubric:: Classes .. autoclass:: DueAutomation :members: :special-members: __init__ :private-members: .. rubric:: Exceptions .. autoexception:: AutomationSensorsUnknown .. autoexception:: RecurringScheduleFixesAMoment