2018-11-16 21:48:57 +01:00
|
|
|
Sensor
|
2018-12-09 22:20:33 +01:00
|
|
|
=========
|
2018-11-16 21:48:57 +01:00
|
|
|
|
|
|
|
|
2018-12-09 22:20:33 +01:00
|
|
|
Sensor Controller
|
|
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. autoclass:: core.controller.sensor_controller.SensorController
|
|
|
|
:members:
|
|
|
|
:private-members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2018-11-16 21:48:57 +01:00
|
|
|
|
|
|
|
|
2018-12-09 22:20:33 +01:00
|
|
|
CBPiSensor
|
|
|
|
^^^^^^^^^^
|
2018-11-16 21:48:57 +01:00
|
|
|
|
2018-12-09 22:20:33 +01:00
|
|
|
.. autoclass:: core.api.sensor.CBPiSensor
|
2018-11-16 21:48:57 +01:00
|
|
|
:members:
|
2018-12-09 22:20:33 +01:00
|
|
|
:private-members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2018-11-16 21:48:57 +01:00
|
|
|
|
|
|
|
Custom Sensor
|
2018-12-09 22:20:33 +01:00
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. 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:
|