mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Use device class translations for Fritz (#95362)
This commit is contained in:
parent
68db751ce1
commit
b0834472bc
@ -46,7 +46,6 @@ BUTTONS: Final = [
|
|||||||
),
|
),
|
||||||
FritzButtonDescription(
|
FritzButtonDescription(
|
||||||
key="reboot",
|
key="reboot",
|
||||||
translation_key="reboot",
|
|
||||||
device_class=ButtonDeviceClass.RESTART,
|
device_class=ButtonDeviceClass.RESTART,
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
press_action=lambda avm_wrapper: avm_wrapper.async_trigger_reboot(),
|
press_action=lambda avm_wrapper: avm_wrapper.async_trigger_reboot(),
|
||||||
|
@ -61,9 +61,6 @@
|
|||||||
"button": {
|
"button": {
|
||||||
"cleanup": { "name": "Cleanup" },
|
"cleanup": { "name": "Cleanup" },
|
||||||
"firmware_update": { "name": "Firmware update" },
|
"firmware_update": { "name": "Firmware update" },
|
||||||
"reboot": {
|
|
||||||
"name": "[%key:component::button::entity_component::restart::name%]"
|
|
||||||
},
|
|
||||||
"reconnect": { "name": "Reconnect" }
|
"reconnect": { "name": "Reconnect" }
|
||||||
},
|
},
|
||||||
"sensor": {
|
"sensor": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user