diff --git a/components/binary_sensor/index.rst b/components/binary_sensor/index.rst index cd6611fb2..0cb50cd0b 100644 --- a/components/binary_sensor/index.rst +++ b/components/binary_sensor/index.rst @@ -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 diff --git a/components/button/index.rst b/components/button/index.rst index 330ef4852..27efa23f0 100644 --- a/components/button/index.rst +++ b/components/button/index.rst @@ -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: diff --git a/components/cover/index.rst b/components/cover/index.rst index d6eaeff3b..abc95bec2 100644 --- a/components/cover/index.rst +++ b/components/cover/index.rst @@ -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: diff --git a/components/number/index.rst b/components/number/index.rst index 34e82cec9..d32079576 100644 --- a/components/number/index.rst +++ b/components/number/index.rst @@ -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: diff --git a/components/sensor/index.rst b/components/sensor/index.rst index 65e63965b..418e4d113 100644 --- a/components/sensor/index.rst +++ b/components/sensor/index.rst @@ -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 diff --git a/components/switch/index.rst b/components/switch/index.rst index 881e4e046..88c739be6 100644 --- a/components/switch/index.rst +++ b/components/switch/index.rst @@ -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 `.