From 75e17c0941302664c555b55f7655c349e30028f2 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 2 Dec 2021 10:23:34 +0100 Subject: [PATCH] Add button device classes (#20519) --- source/_integrations/button.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_integrations/button.markdown b/source/_integrations/button.markdown index 9566d104408..3321fb44d1b 100644 --- a/source/_integrations/button.markdown +++ b/source/_integrations/button.markdown @@ -52,3 +52,12 @@ This service can be called to trigger a button press for that entity. target: entity_id: button.my_button ``` + +## Device Class + +The way these buttons are displayed in the frontend can be modified in the [customize section](/docs/configuration/customizing-devices/). +The following device classes are supported for buttons: + +- **None**: Generic button. This is the default and doesn't need to be set. +- **restart**: The button restarts the device. +- **update**: The button updates the software of the device.