Use device class translations for Fritz (#95362)

This commit is contained in:
Joost Lekkerkerker 2023-06-27 18:48:03 +02:00 committed by GitHub
parent 68db751ce1
commit b0834472bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -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(),

View File

@ -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": {