File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 22from pioreactor .structs import AutomationEvent
33
44
5- class NoEvent (AutomationEvent ):
5+ class NoEvent (AutomationEvent , tag = "NoEvent" ):
66 pass
77
88
9- class DilutionEvent (AutomationEvent ):
9+ class DilutionEvent (AutomationEvent , tag = "DilutionEvent" ):
1010 pass
1111
1212
13- class DosingStarted (AutomationEvent ):
13+ class DosingStarted (AutomationEvent , tag = "DosingStarted" ):
1414 pass
1515
1616
17- class DosingStopped (AutomationEvent ):
17+ class DosingStopped (AutomationEvent , tag = "DosingStopped" ):
1818 pass
1919
2020
21- class AddMediaEvent (AutomationEvent ):
21+ class AddMediaEvent (AutomationEvent , tag = "AddMediaEvent" ):
2222 pass
2323
2424
25- class AddAltMediaEvent (AutomationEvent ):
25+ class AddAltMediaEvent (AutomationEvent , tag = "AddAltMediaEvent" ):
2626 pass
2727
2828
29- class ChangedLedIntensity (AutomationEvent ):
29+ class ChangedLedIntensity (AutomationEvent , tag = "ChangedLedIntensity" ):
3030 pass
3131
3232
33- class ErrorOccurred (AutomationEvent ):
33+ class ErrorOccurred (AutomationEvent , tag = "ErrorOccurred" ):
3434 pass
3535
3636
37- class UpdatedHeaterDC (AutomationEvent ):
37+ class UpdatedHeaterDC (AutomationEvent , tag = "UpdatedHeaterDC" ):
3838 pass
Original file line number Diff line number Diff line change 1212from pioreactor import exc
1313from pioreactor import structs
1414from pioreactor import types as pt
15+ from pioreactor .automations import events as automation_events # noqa: F401
1516from pioreactor .background_jobs .base import LongRunningBackgroundJob
1617from pioreactor .config import config
1718from pioreactor .hardware import get_pwm_to_pin_map
You can’t perform that action at this time.
0 commit comments