craftbeerpi4-pione/docs_src/source/sensor.rst

39 lines
612 B
ReStructuredText
Raw Normal View History

2018-11-16 21:42:59 +01:00
Sensor
2018-12-09 22:20:33 +01:00
=========
2018-11-16 21:42:59 +01:00
2018-12-09 22:20:33 +01:00
Sensor Controller
^^^^^^^^^^^^^^^^^
2019-01-05 23:25:19 +01:00
.. autoclass:: cbpi.controller.sensor_controller.SensorController
2018-12-09 22:20:33 +01:00
:members:
:private-members:
:undoc-members:
:show-inheritance:
2018-11-16 21:42:59 +01:00
2018-12-09 22:20:33 +01:00
CBPiSensor
^^^^^^^^^^
2018-11-16 21:42:59 +01:00
2019-01-05 23:25:19 +01:00
.. autoclass:: cbpi.api.CBPiSensor
2018-11-16 21:42:59 +01:00
:members:
2018-12-09 22:20:33 +01:00
:private-members:
:undoc-members:
:show-inheritance:
2018-11-16 21:42:59 +01:00
Custom Sensor
2018-12-09 22:20:33 +01:00
^^^^^^^^^^^^^
2019-01-05 23:25:19 +01:00
.. literalinclude:: ../../cbpi/extension/dummysensor/__init__.py
2018-12-09 22:20:33 +01:00
:caption: __init__.py
2019-01-05 23:25:19 +01:00
:name: __init__.py
2018-12-09 22:20:33 +01:00
:language: python
:linenos:
config.yaml
2019-01-05 23:25:19 +01:00
.. literalinclude:: ../../cbpi/extension/dummysensor/config.yaml
2018-12-09 22:20:33 +01:00
:language: yaml
:linenos: