Updates links to device class list (#3594)

* Updates link to documentation for device classes for sensors

* Updates link to documentation for device classes and state classes for binary sensors

* Updates link to documentation for device classes and state classes for buttons

* Updates link to documentation for device classes and state classes for covers

* Updates link to documentation for device classes and state classes for numbers

* Updates link to documentation for device classes and state classes for swtichs
This commit is contained in:
dougiteixeira 2024-02-06 02:52:40 -03:00 committed by GitHub
parent 440947762d
commit c6372c19a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ Configuration variables:
you want the binary sensor to use that name, you can set ``name: None``. you want the binary sensor to use that name, you can set ``name: None``.
- **device_class** (*Optional*, string): The device class for the - **device_class** (*Optional*, string): The device class for the
sensor. See https://developers.home-assistant.io/docs/core/entity/binary-sensor/#available-device-classes sensor. See https://www.home-assistant.io/integrations/binary_sensor/#device-class
for a list of available options. for a list of available options.
- **icon** (*Optional*, icon): Manually set the icon to use for the binary sensor in the frontend. - **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 - **filters** (*Optional*, list): A list of filters to apply on the binary sensor values such as

View File

@ -57,7 +57,7 @@ Configuration variables:
See https://developers.home-assistant.io/docs/core/entity/#generic-properties See https://developers.home-assistant.io/docs/core/entity/#generic-properties
for a list of available options. Set to ``""`` to remove the default entity category. for a list of available options. Set to ``""`` to remove the default entity category.
- **device_class** (*Optional*, string): The device class for the button. - **device_class** (*Optional*, string): The device class for the button.
See https://developers.home-assistant.io/docs/core/entity/button/#available-device-classes See https://www.home-assistant.io/integrations/button/#device-class
for a list of available options. for a list of available options.
Automations: Automations:

View File

@ -36,7 +36,7 @@ Configuration variables:
you want the cover to use that name, you can set ``name: None``. you want the cover to use that name, you can set ``name: None``.
- **device_class** (*Optional*, string): The device class for the - **device_class** (*Optional*, string): The device class for the
sensor. See https://www.home-assistant.io/components/cover/ for a list of available options. sensor. See https://www.home-assistant.io/integrations/cover/#device-class for a list of available options.
- **icon** (*Optional*, icon): Manually set the icon to use for the cover in the frontend. - **icon** (*Optional*, icon): Manually set the icon to use for the cover in the frontend.
Advanced options: Advanced options:

View File

@ -55,7 +55,7 @@ Configuration variables:
for a list of available options. Requires Home Assistant Core 2021.12 or newer. for a list of available options. Requires Home Assistant Core 2021.12 or newer.
Defaults to ``"auto"``. Defaults to ``"auto"``.
- **device_class** (*Optional*, string): The device class for the number. - **device_class** (*Optional*, string): The device class for the number.
See https://developers.home-assistant.io/docs/core/entity/number/#available-device-classes See https://www.home-assistant.io/integrations/number/#device-class
for a list of available options. for a list of available options.
Automations: Automations:

View File

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

View File

@ -65,7 +65,7 @@ Configuration variables:
for a list of available options. Requires Home Assistant 2021.11 or newer. for a list of available options. Requires Home Assistant 2021.11 or newer.
Set to ``""`` to remove the default entity category. Set to ``""`` to remove the default entity category.
- **device_class** (*Optional*, string): The device class for the switch. - **device_class** (*Optional*, string): The device class for the switch.
See https://developers.home-assistant.io/docs/core/entity/switch/#available-device-classes See https://www.home-assistant.io/integrations/switch/#device-class
for a list of available options. Requires Home Assistant 2022.3 or newer. for a list of available options. Requires Home Assistant 2022.3 or newer.
- If MQTT enabled, All other options from :ref:`MQTT Component <config-mqtt-component>`. - If MQTT enabled, All other options from :ref:`MQTT Component <config-mqtt-component>`.