mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-23 16:58:11 +01:00
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:
parent
440947762d
commit
c6372c19a7
@ -35,7 +35,7 @@ Configuration variables:
|
||||
you want the binary sensor to use that name, you can set ``name: None``.
|
||||
|
||||
- **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.
|
||||
- **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
|
||||
|
@ -57,7 +57,7 @@ Configuration variables:
|
||||
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.
|
||||
- **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.
|
||||
|
||||
Automations:
|
||||
|
@ -36,7 +36,7 @@ Configuration variables:
|
||||
you want the cover to use that name, you can set ``name: None``.
|
||||
|
||||
- **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.
|
||||
|
||||
Advanced options:
|
||||
|
@ -55,7 +55,7 @@ Configuration variables:
|
||||
for a list of available options. Requires Home Assistant Core 2021.12 or newer.
|
||||
Defaults to ``"auto"``.
|
||||
- **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.
|
||||
|
||||
Automations:
|
||||
|
@ -50,7 +50,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://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.
|
||||
- **state_class** (*Optional*, string): The state class for the
|
||||
sensor. See https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes
|
||||
|
@ -65,7 +65,7 @@ Configuration variables:
|
||||
for a list of available options. Requires Home Assistant 2021.11 or newer.
|
||||
Set to ``""`` to remove the default entity category.
|
||||
- **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.
|
||||
- If MQTT enabled, All other options from :ref:`MQTT Component <config-mqtt-component>`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user