craftbeerpi4-pione/docs_src/source/sensor.rst
2019-01-05 23:25:19 +01:00

39 lines
No EOL
612 B
ReStructuredText

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