example-custom-config/custom_components/example_sensor
Shannon Fritz cf0e6a4dd9
Replaced TEMP_CELSIUS with UnitOfTemperature.CELSIUS (#53)
TEMP_CELSIUS was deprecated
https://github.com/home-assistant/core/blob/dev/homeassistant/const.py#L580
2023-09-13 23:14:14 +02:00
..
README.md Update README.md (#48) 2023-08-14 10:28:25 +02:00
__init__.py Add example light/sensor from dev docs 2019-04-05 21:03:43 -07:00
manifest.json Sort manifests (#41) 2023-02-27 08:14:48 +01:00
sensor.py Replaced TEMP_CELSIUS with UnitOfTemperature.CELSIUS (#53) 2023-09-13 23:14:14 +02:00

README.md

Example Sensor

This is a minimum implementation of an integration providing a sensor measurement.

Installation

Copy this folder to <config_dir>/custom_components/example_sensor/.

Add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: example_sensor