craftbeerpi4-pione/docs_src/source/step.rst
2018-12-29 00:27:19 +01:00

41 lines
No EOL
703 B
ReStructuredText

Brewing Step
============
StepController
^^^^^^^^^^^^^^^
.. autoclass:: core.controller.step_controller.StepController
:members:
:undoc-members:
:show-inheritance:
CBPiSimpleStep
^^^^^^^^^^^^^^
.. autoclass:: cbpi_api.CBPiSimpleStep
:members:
:undoc-members:
:show-inheritance:
Custom Step
^^^^^^^^^^^
This is an example of a custom step. The Step class need to extend Simple step. In addtion at least the run_cycle method needs to be overwritten
.. literalinclude:: ../../core/extension/dummystep/__init__.py
:caption: __init__.py
:language: python
:linenos:
config.yaml
.. literalinclude:: ../../core/extension/dummystep/config.yaml
:language: yaml
:linenos: