craftbeerpi4-pione/docs_src/source/sensor.rst
2018-12-09 22:20:33 +01:00

39 lines
No EOL
619 B
ReStructuredText

Sensor
=========
Sensor Controller
^^^^^^^^^^^^^^^^^
.. autoclass:: core.controller.sensor_controller.SensorController
:members:
:private-members:
:undoc-members:
:show-inheritance:
CBPiSensor
^^^^^^^^^^
.. autoclass:: core.api.sensor.CBPiSensor
:members:
:private-members:
:undoc-members:
:show-inheritance:
Custom Sensor
^^^^^^^^^^^^^
.. literalinclude:: ../../core/extension/dummysensor/__init__.py
:caption: __init__.py
:name: __init__-py
:language: python
:linenos:
config.yaml
.. literalinclude:: ../../core/extension/dummysensor/config.yaml
:language: yaml
:linenos: