mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Add identify device class to button (#95244)
This commit is contained in:
parent
1029bcbbd3
commit
5bd5ca8433
@ -35,6 +35,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
class ButtonDeviceClass(StrEnum):
|
||||
"""Device class for buttons."""
|
||||
|
||||
IDENTIFY = "identify"
|
||||
RESTART = "restart"
|
||||
UPDATE = "update"
|
||||
|
||||
|
@ -12,6 +12,9 @@
|
||||
"_": {
|
||||
"name": "[%key:component::button::title%]"
|
||||
},
|
||||
"identify": {
|
||||
"name": "Identify"
|
||||
},
|
||||
"restart": {
|
||||
"name": "Restart"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user