Update device-class links to point to ha dev docs (#1686)

This commit is contained in:
Jesse Hills 2021-11-30 17:04:52 +13:00 committed by GitHub
parent 673fad67c0
commit f706abcf2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ you can always override it.
Configuration variables:
- **device_class** (*Optional*, string): The device class for the
sensor. See https://www.home-assistant.io/components/binary_sensor/
sensor. See https://developers.home-assistant.io/docs/core/entity/binary-sensor/#available-device-classes
for a list of available options.
- **icon** (*Optional*, icon): Manually set the icon to use for the binary sensor in the frontend.
- **filters** (*Optional*, list): A list of filters to apply on the binary sensor values such as

View File

@ -43,7 +43,7 @@ Configuration variables:
of measurement the sensor should advertise its values with. This does
not actually do any maths (conversion between units).
- **device_class** (*Optional*, string): The device class for the
sensor. See https://www.home-assistant.io/integrations/sensor/#device-class
sensor. See https://developers.home-assistant.io/docs/core/entity/sensor/#available-device-classes
for a list of available options. Set to ``""`` to remove the default device class of a sensor.
- **state_class** (*Optional*, string): The state class for the
sensor. See https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes