mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix two icon translations for La Marzocco (#109284)
This commit is contained in:
parent
8afcd53af6
commit
a075accbe3
@ -82,7 +82,7 @@
|
|||||||
"off": "mdi:alarm-off"
|
"off": "mdi:alarm-off"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"steam_boiler_enable": {
|
"steam_boiler": {
|
||||||
"default": "mdi:water-boiler",
|
"default": "mdi:water-boiler",
|
||||||
"state": {
|
"state": {
|
||||||
"on": "mdi:water-boiler",
|
"on": "mdi:water-boiler",
|
||||||
|
@ -28,6 +28,7 @@ class LaMarzoccoSwitchEntityDescription(
|
|||||||
ENTITIES: tuple[LaMarzoccoSwitchEntityDescription, ...] = (
|
ENTITIES: tuple[LaMarzoccoSwitchEntityDescription, ...] = (
|
||||||
LaMarzoccoSwitchEntityDescription(
|
LaMarzoccoSwitchEntityDescription(
|
||||||
key="main",
|
key="main",
|
||||||
|
translation_key="main",
|
||||||
name=None,
|
name=None,
|
||||||
control_fn=lambda coordinator, state: coordinator.lm.set_power(state),
|
control_fn=lambda coordinator, state: coordinator.lm.set_power(state),
|
||||||
is_on_fn=lambda coordinator: coordinator.lm.current_status["power"],
|
is_on_fn=lambda coordinator: coordinator.lm.current_status["power"],
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
'translation_key': None,
|
'translation_key': 'main',
|
||||||
'unique_id': 'GS01234_main',
|
'unique_id': 'GS01234_main',
|
||||||
'unit_of_measurement': None,
|
'unit_of_measurement': None,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user