|
44 | 44 | ] = {
|
45 | 45 | ApplicationType.EZSP: FirmwareUpdateEntityDescription(
|
46 | 46 | key="radio_firmware",
|
| 47 | + translation_key="radio_firmware", |
47 | 48 | display_precision=0,
|
48 | 49 | device_class=UpdateDeviceClass.FIRMWARE,
|
49 | 50 | entity_category=EntityCategory.CONFIG,
|
|
55 | 56 | ),
|
56 | 57 | ApplicationType.SPINEL: FirmwareUpdateEntityDescription(
|
57 | 58 | key="radio_firmware",
|
| 59 | + translation_key="radio_firmware", |
58 | 60 | display_precision=0,
|
59 | 61 | device_class=UpdateDeviceClass.FIRMWARE,
|
60 | 62 | entity_category=EntityCategory.CONFIG,
|
|
65 | 67 | firmware_name="OpenThread RCP",
|
66 | 68 | ),
|
67 | 69 | ApplicationType.CPC: FirmwareUpdateEntityDescription(
|
68 |
| - key="firmware", |
| 70 | + key="radio_firmware", |
| 71 | + translation_key="radio_firmware", |
69 | 72 | display_precision=0,
|
70 | 73 | device_class=UpdateDeviceClass.FIRMWARE,
|
71 | 74 | entity_category=EntityCategory.CONFIG,
|
|
76 | 79 | firmware_name="Multiprotocol",
|
77 | 80 | ),
|
78 | 81 | ApplicationType.GECKO_BOOTLOADER: FirmwareUpdateEntityDescription(
|
79 |
| - key="firmware", |
| 82 | + key="radio_firmware", |
| 83 | + translation_key="radio_firmware", |
80 | 84 | display_precision=0,
|
81 | 85 | device_class=UpdateDeviceClass.FIRMWARE,
|
82 | 86 | entity_category=EntityCategory.CONFIG,
|
|
88 | 92 | ),
|
89 | 93 | None: FirmwareUpdateEntityDescription(
|
90 | 94 | key="radio_firmware",
|
| 95 | + translation_key="radio_firmware", |
91 | 96 | display_precision=0,
|
92 | 97 | device_class=UpdateDeviceClass.FIRMWARE,
|
93 | 98 | entity_category=EntityCategory.CONFIG,
|
@@ -168,7 +173,6 @@ class FirmwareUpdateEntity(BaseFirmwareUpdateEntity):
|
168 | 173 | """Yellow firmware update entity."""
|
169 | 174 |
|
170 | 175 | bootloader_reset_type = "yellow" # Triggers a GPIO reset
|
171 |
| - _attr_has_entity_name = True |
172 | 176 |
|
173 | 177 | def __init__(
|
174 | 178 | self,
|
|
0 commit comments