mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +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):
|
class ButtonDeviceClass(StrEnum):
|
||||||
"""Device class for buttons."""
|
"""Device class for buttons."""
|
||||||
|
|
||||||
|
IDENTIFY = "identify"
|
||||||
RESTART = "restart"
|
RESTART = "restart"
|
||||||
UPDATE = "update"
|
UPDATE = "update"
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
"_": {
|
"_": {
|
||||||
"name": "[%key:component::button::title%]"
|
"name": "[%key:component::button::title%]"
|
||||||
},
|
},
|
||||||
|
"identify": {
|
||||||
|
"name": "Identify"
|
||||||
|
},
|
||||||
"restart": {
|
"restart": {
|
||||||
"name": "Restart"
|
"name": "Restart"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user