diff --git a/components/switch/index.rst b/components/switch/index.rst index 531c57623..4fe558fa6 100644 --- a/components/switch/index.rst +++ b/components/switch/index.rst @@ -42,6 +42,9 @@ Configuration variables: See https://developers.home-assistant.io/docs/core/entity/#generic-properties 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 + for a list of available options. Requires Home Assistant 2022.3 or newer. - If MQTT enabled, All other options from :ref:`MQTT Component `. .. _switch-toggle_action: