mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Use device class naming for BraviaTV (#96564)
This commit is contained in:
parent
79c6b773da
commit
c34194d8e0
@ -36,7 +36,6 @@ class BraviaTVButtonDescription(
|
|||||||
BUTTONS: tuple[BraviaTVButtonDescription, ...] = (
|
BUTTONS: tuple[BraviaTVButtonDescription, ...] = (
|
||||||
BraviaTVButtonDescription(
|
BraviaTVButtonDescription(
|
||||||
key="reboot",
|
key="reboot",
|
||||||
translation_key="restart",
|
|
||||||
device_class=ButtonDeviceClass.RESTART,
|
device_class=ButtonDeviceClass.RESTART,
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
press_action=lambda coordinator: coordinator.async_reboot_device(),
|
press_action=lambda coordinator: coordinator.async_reboot_device(),
|
||||||
|
@ -47,9 +47,6 @@
|
|||||||
},
|
},
|
||||||
"entity": {
|
"entity": {
|
||||||
"button": {
|
"button": {
|
||||||
"restart": {
|
|
||||||
"name": "[%key:component::button::entity_component::restart::name%]"
|
|
||||||
},
|
|
||||||
"terminate_apps": {
|
"terminate_apps": {
|
||||||
"name": "Terminate apps"
|
"name": "Terminate apps"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user