From da3b0b8a65d09f2583fe531632bc783d885b39fb Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 1 Dec 2021 04:30:28 +1300 Subject: [PATCH] Add docs for button device_class (#1685) --- components/button/index.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/button/index.rst b/components/button/index.rst index deafe84f0..b1f460df8 100644 --- a/components/button/index.rst +++ b/components/button/index.rst @@ -45,6 +45,9 @@ Configuration variables: - **entity_category** (*Optional*, string): The category of the entity. 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 + for a list of available options. Automations: