Add identify device class to button (#95244)

This commit is contained in:
Franck Nijhof 2023-06-26 15:46:37 +02:00 committed by GitHub
parent 1029bcbbd3
commit 5bd5ca8433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@ _LOGGER = logging.getLogger(__name__)
class ButtonDeviceClass(StrEnum):
"""Device class for buttons."""
IDENTIFY = "identify"
RESTART = "restart"
UPDATE = "update"

View File

@ -12,6 +12,9 @@
"_": {
"name": "[%key:component::button::title%]"
},
"identify": {
"name": "Identify"
},
"restart": {
"name": "Restart"
},