Fix two icon translations for La Marzocco (#109284)
parent
8afcd53af6
commit
a075accbe3
|
@ -82,7 +82,7 @@
|
|||
"off": "mdi:alarm-off"
|
||||
}
|
||||
},
|
||||
"steam_boiler_enable": {
|
||||
"steam_boiler": {
|
||||
"default": "mdi:water-boiler",
|
||||
"state": {
|
||||
"on": "mdi:water-boiler",
|
||||
|
|
|
@ -28,6 +28,7 @@ class LaMarzoccoSwitchEntityDescription(
|
|||
ENTITIES: tuple[LaMarzoccoSwitchEntityDescription, ...] = (
|
||||
LaMarzoccoSwitchEntityDescription(
|
||||
key="main",
|
||||
translation_key="main",
|
||||
name=None,
|
||||
control_fn=lambda coordinator, state: coordinator.lm.set_power(state),
|
||||
is_on_fn=lambda coordinator: coordinator.lm.current_status["power"],
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
'platform': 'lamarzocco',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'translation_key': 'main',
|
||||
'unique_id': 'GS01234_main',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue