mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
parent
ed270f558a
commit
5c0a67a3d2
@ -27,8 +27,6 @@ class LaMarzoccoBinarySensorEntityDescription(
|
|||||||
"""Description of a La Marzocco binary sensor."""
|
"""Description of a La Marzocco binary sensor."""
|
||||||
|
|
||||||
is_on_fn: Callable[[LaMarzoccoClient], bool]
|
is_on_fn: Callable[[LaMarzoccoClient], bool]
|
||||||
icon_on: str
|
|
||||||
icon_off: str
|
|
||||||
|
|
||||||
|
|
||||||
ENTITIES: tuple[LaMarzoccoBinarySensorEntityDescription, ...] = (
|
ENTITIES: tuple[LaMarzoccoBinarySensorEntityDescription, ...] = (
|
||||||
@ -36,8 +34,6 @@ ENTITIES: tuple[LaMarzoccoBinarySensorEntityDescription, ...] = (
|
|||||||
key="water_tank",
|
key="water_tank",
|
||||||
translation_key="water_tank",
|
translation_key="water_tank",
|
||||||
device_class=BinarySensorDeviceClass.PROBLEM,
|
device_class=BinarySensorDeviceClass.PROBLEM,
|
||||||
icon_on="mdi:water-remove",
|
|
||||||
icon_off="mdi:water-check",
|
|
||||||
is_on_fn=lambda lm: not lm.current_status.get("water_reservoir_contact"),
|
is_on_fn=lambda lm: not lm.current_status.get("water_reservoir_contact"),
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
supported_fn=lambda coordinator: coordinator.local_connection_configured,
|
supported_fn=lambda coordinator: coordinator.local_connection_configured,
|
||||||
@ -46,8 +42,6 @@ ENTITIES: tuple[LaMarzoccoBinarySensorEntityDescription, ...] = (
|
|||||||
key="brew_active",
|
key="brew_active",
|
||||||
translation_key="brew_active",
|
translation_key="brew_active",
|
||||||
device_class=BinarySensorDeviceClass.RUNNING,
|
device_class=BinarySensorDeviceClass.RUNNING,
|
||||||
icon_off="mdi:cup-off",
|
|
||||||
icon_on="mdi:cup-water",
|
|
||||||
is_on_fn=lambda lm: bool(lm.current_status.get("brew_active")),
|
is_on_fn=lambda lm: bool(lm.current_status.get("brew_active")),
|
||||||
available_fn=lambda lm: lm.websocket_connected,
|
available_fn=lambda lm: lm.websocket_connected,
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
@ -75,15 +69,6 @@ class LaMarzoccoBinarySensorEntity(LaMarzoccoEntity, BinarySensorEntity):
|
|||||||
|
|
||||||
entity_description: LaMarzoccoBinarySensorEntityDescription
|
entity_description: LaMarzoccoBinarySensorEntityDescription
|
||||||
|
|
||||||
@property
|
|
||||||
def icon(self) -> str | None:
|
|
||||||
"""Return the icon."""
|
|
||||||
return (
|
|
||||||
self.entity_description.icon_on
|
|
||||||
if self.is_on
|
|
||||||
else self.entity_description.icon_off
|
|
||||||
)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_on(self) -> bool:
|
def is_on(self) -> bool:
|
||||||
"""Return true if the binary sensor is on."""
|
"""Return true if the binary sensor is on."""
|
||||||
|
@ -29,7 +29,6 @@ ENTITIES: tuple[LaMarzoccoButtonEntityDescription, ...] = (
|
|||||||
LaMarzoccoButtonEntityDescription(
|
LaMarzoccoButtonEntityDescription(
|
||||||
key="start_backflush",
|
key="start_backflush",
|
||||||
translation_key="start_backflush",
|
translation_key="start_backflush",
|
||||||
icon="mdi:water-sync",
|
|
||||||
press_fn=lambda lm: lm.start_backflush(),
|
press_fn=lambda lm: lm.start_backflush(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
102
homeassistant/components/lamarzocco/icons.json
Normal file
102
homeassistant/components/lamarzocco/icons.json
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"binary_sensor": {
|
||||||
|
"water_tank": {
|
||||||
|
"default": "mdi:water",
|
||||||
|
"state": {
|
||||||
|
"on": "mdi:water-alert",
|
||||||
|
"off": "mdi:water-check"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"brew_active": {
|
||||||
|
"default": "mdi:cup",
|
||||||
|
"state": {
|
||||||
|
"on": "mdi:cup-water",
|
||||||
|
"off": "mdi:cup-off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"button": {
|
||||||
|
"start_backflush": {
|
||||||
|
"default": "mdi:water-sync"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"number": {
|
||||||
|
"coffee_temp": {
|
||||||
|
"default": "mdi:thermometer-water"
|
||||||
|
},
|
||||||
|
"steam_temp": {
|
||||||
|
"default": "mdi:thermometer-water"
|
||||||
|
},
|
||||||
|
"tea_water_duration": {
|
||||||
|
"default": "mdi:timer-sand"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"select": {
|
||||||
|
"steam_temp_select": {
|
||||||
|
"default": "mdi:thermometer",
|
||||||
|
"state": {
|
||||||
|
"1": "mdi:thermometer-low",
|
||||||
|
"2": "mdi:thermometer",
|
||||||
|
"3": "mdi:thermometer-high"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"prebrew_infusion_select": {
|
||||||
|
"default": "mdi:water-pump-off",
|
||||||
|
"state": {
|
||||||
|
"disabled": "mdi:water-pump-off",
|
||||||
|
"prebrew": "mdi:water-pump",
|
||||||
|
"preinfusion": "mdi:water-pump"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sensor": {
|
||||||
|
"drink_stats_coffee": {
|
||||||
|
"default": "mdi:chart-line"
|
||||||
|
},
|
||||||
|
"drink_stats_flushing": {
|
||||||
|
"default": "mdi:chart-line"
|
||||||
|
},
|
||||||
|
"shot_timer": {
|
||||||
|
"default": "mdi:timer"
|
||||||
|
},
|
||||||
|
"current_temp_coffee": {
|
||||||
|
"default": "mdi:thermometer"
|
||||||
|
},
|
||||||
|
"current_temp_steam": {
|
||||||
|
"default": "mdi:thermometer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"switch": {
|
||||||
|
"main": {
|
||||||
|
"default": "mdi:power",
|
||||||
|
"state": {
|
||||||
|
"on": "mdi:power",
|
||||||
|
"off": "mdi:power-off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"auto_on_off": {
|
||||||
|
"default": "mdi:alarm",
|
||||||
|
"state": {
|
||||||
|
"on": "mdi:alarm",
|
||||||
|
"off": "mdi:alarm-off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"steam_boiler_enable": {
|
||||||
|
"default": "mdi:water-boiler",
|
||||||
|
"state": {
|
||||||
|
"on": "mdi:water-boiler",
|
||||||
|
"off": "mdi:water-boiler-off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"update": {
|
||||||
|
"machine_firmware": {
|
||||||
|
"default": "mdi:cloud-download"
|
||||||
|
},
|
||||||
|
"gateway_firmware": {
|
||||||
|
"default": "mdi:cloud-download"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -44,7 +44,6 @@ ENTITIES: tuple[LaMarzoccoNumberEntityDescription, ...] = (
|
|||||||
LaMarzoccoNumberEntityDescription(
|
LaMarzoccoNumberEntityDescription(
|
||||||
key="coffee_temp",
|
key="coffee_temp",
|
||||||
translation_key="coffee_temp",
|
translation_key="coffee_temp",
|
||||||
icon="mdi:coffee-maker",
|
|
||||||
device_class=NumberDeviceClass.TEMPERATURE,
|
device_class=NumberDeviceClass.TEMPERATURE,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
native_step=PRECISION_TENTHS,
|
native_step=PRECISION_TENTHS,
|
||||||
@ -56,7 +55,6 @@ ENTITIES: tuple[LaMarzoccoNumberEntityDescription, ...] = (
|
|||||||
LaMarzoccoNumberEntityDescription(
|
LaMarzoccoNumberEntityDescription(
|
||||||
key="steam_temp",
|
key="steam_temp",
|
||||||
translation_key="steam_temp",
|
translation_key="steam_temp",
|
||||||
icon="mdi:kettle-steam",
|
|
||||||
device_class=NumberDeviceClass.TEMPERATURE,
|
device_class=NumberDeviceClass.TEMPERATURE,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
native_step=PRECISION_WHOLE,
|
native_step=PRECISION_WHOLE,
|
||||||
@ -73,7 +71,6 @@ ENTITIES: tuple[LaMarzoccoNumberEntityDescription, ...] = (
|
|||||||
LaMarzoccoNumberEntityDescription(
|
LaMarzoccoNumberEntityDescription(
|
||||||
key="tea_water_duration",
|
key="tea_water_duration",
|
||||||
translation_key="tea_water_duration",
|
translation_key="tea_water_duration",
|
||||||
icon="mdi:water-percent",
|
|
||||||
device_class=NumberDeviceClass.DURATION,
|
device_class=NumberDeviceClass.DURATION,
|
||||||
native_unit_of_measurement=UnitOfTime.SECONDS,
|
native_unit_of_measurement=UnitOfTime.SECONDS,
|
||||||
native_step=PRECISION_WHOLE,
|
native_step=PRECISION_WHOLE,
|
||||||
|
@ -34,7 +34,6 @@ ENTITIES: tuple[LaMarzoccoSelectEntityDescription, ...] = (
|
|||||||
LaMarzoccoSelectEntityDescription(
|
LaMarzoccoSelectEntityDescription(
|
||||||
key="steam_temp_select",
|
key="steam_temp_select",
|
||||||
translation_key="steam_temp_select",
|
translation_key="steam_temp_select",
|
||||||
icon="mdi:water-thermometer",
|
|
||||||
options=["1", "2", "3"],
|
options=["1", "2", "3"],
|
||||||
select_option_fn=lambda coordinator, option: coordinator.lm.set_steam_level(
|
select_option_fn=lambda coordinator, option: coordinator.lm.set_steam_level(
|
||||||
int(option)
|
int(option)
|
||||||
@ -46,7 +45,6 @@ ENTITIES: tuple[LaMarzoccoSelectEntityDescription, ...] = (
|
|||||||
LaMarzoccoSelectEntityDescription(
|
LaMarzoccoSelectEntityDescription(
|
||||||
key="prebrew_infusion_select",
|
key="prebrew_infusion_select",
|
||||||
translation_key="prebrew_infusion_select",
|
translation_key="prebrew_infusion_select",
|
||||||
icon="mdi:water-plus",
|
|
||||||
options=["disabled", "prebrew", "preinfusion"],
|
options=["disabled", "prebrew", "preinfusion"],
|
||||||
select_option_fn=lambda coordinator,
|
select_option_fn=lambda coordinator,
|
||||||
option: coordinator.lm.select_pre_brew_infusion_mode(option.capitalize()),
|
option: coordinator.lm.select_pre_brew_infusion_mode(option.capitalize()),
|
||||||
|
@ -34,7 +34,6 @@ ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
|||||||
LaMarzoccoSensorEntityDescription(
|
LaMarzoccoSensorEntityDescription(
|
||||||
key="drink_stats_coffee",
|
key="drink_stats_coffee",
|
||||||
translation_key="drink_stats_coffee",
|
translation_key="drink_stats_coffee",
|
||||||
icon="mdi:chart-line",
|
|
||||||
native_unit_of_measurement="drinks",
|
native_unit_of_measurement="drinks",
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
value_fn=lambda lm: lm.current_status.get("drinks_k1", 0),
|
value_fn=lambda lm: lm.current_status.get("drinks_k1", 0),
|
||||||
@ -43,7 +42,6 @@ ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
|||||||
LaMarzoccoSensorEntityDescription(
|
LaMarzoccoSensorEntityDescription(
|
||||||
key="drink_stats_flushing",
|
key="drink_stats_flushing",
|
||||||
translation_key="drink_stats_flushing",
|
translation_key="drink_stats_flushing",
|
||||||
icon="mdi:chart-line",
|
|
||||||
native_unit_of_measurement="drinks",
|
native_unit_of_measurement="drinks",
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
value_fn=lambda lm: lm.current_status.get("total_flushing", 0),
|
value_fn=lambda lm: lm.current_status.get("total_flushing", 0),
|
||||||
@ -52,7 +50,6 @@ ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
|||||||
LaMarzoccoSensorEntityDescription(
|
LaMarzoccoSensorEntityDescription(
|
||||||
key="shot_timer",
|
key="shot_timer",
|
||||||
translation_key="shot_timer",
|
translation_key="shot_timer",
|
||||||
icon="mdi:timer",
|
|
||||||
native_unit_of_measurement=UnitOfTime.SECONDS,
|
native_unit_of_measurement=UnitOfTime.SECONDS,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
device_class=SensorDeviceClass.DURATION,
|
device_class=SensorDeviceClass.DURATION,
|
||||||
@ -64,7 +61,6 @@ ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
|||||||
LaMarzoccoSensorEntityDescription(
|
LaMarzoccoSensorEntityDescription(
|
||||||
key="current_temp_coffee",
|
key="current_temp_coffee",
|
||||||
translation_key="current_temp_coffee",
|
translation_key="current_temp_coffee",
|
||||||
icon="mdi:thermometer",
|
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
@ -73,7 +69,6 @@ ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
|||||||
LaMarzoccoSensorEntityDescription(
|
LaMarzoccoSensorEntityDescription(
|
||||||
key="current_temp_steam",
|
key="current_temp_steam",
|
||||||
translation_key="current_temp_steam",
|
translation_key="current_temp_steam",
|
||||||
icon="mdi:thermometer",
|
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
|
@ -29,14 +29,12 @@ ENTITIES: tuple[LaMarzoccoSwitchEntityDescription, ...] = (
|
|||||||
LaMarzoccoSwitchEntityDescription(
|
LaMarzoccoSwitchEntityDescription(
|
||||||
key="main",
|
key="main",
|
||||||
name=None,
|
name=None,
|
||||||
icon="mdi:power",
|
|
||||||
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"],
|
||||||
),
|
),
|
||||||
LaMarzoccoSwitchEntityDescription(
|
LaMarzoccoSwitchEntityDescription(
|
||||||
key="auto_on_off",
|
key="auto_on_off",
|
||||||
translation_key="auto_on_off",
|
translation_key="auto_on_off",
|
||||||
icon="mdi:alarm",
|
|
||||||
control_fn=lambda coordinator, state: coordinator.lm.set_auto_on_off_global(
|
control_fn=lambda coordinator, state: coordinator.lm.set_auto_on_off_global(
|
||||||
state
|
state
|
||||||
),
|
),
|
||||||
@ -47,7 +45,6 @@ ENTITIES: tuple[LaMarzoccoSwitchEntityDescription, ...] = (
|
|||||||
LaMarzoccoSwitchEntityDescription(
|
LaMarzoccoSwitchEntityDescription(
|
||||||
key="steam_boiler_enable",
|
key="steam_boiler_enable",
|
||||||
translation_key="steam_boiler",
|
translation_key="steam_boiler",
|
||||||
icon="mdi:water-boiler",
|
|
||||||
control_fn=lambda coordinator, state: coordinator.lm.set_steam(state),
|
control_fn=lambda coordinator, state: coordinator.lm.set_steam(state),
|
||||||
is_on_fn=lambda coordinator: coordinator.lm.current_status[
|
is_on_fn=lambda coordinator: coordinator.lm.current_status[
|
||||||
"steam_boiler_enable"
|
"steam_boiler_enable"
|
||||||
|
@ -40,7 +40,6 @@ ENTITIES: tuple[LaMarzoccoUpdateEntityDescription, ...] = (
|
|||||||
key="machine_firmware",
|
key="machine_firmware",
|
||||||
translation_key="machine_firmware",
|
translation_key="machine_firmware",
|
||||||
device_class=UpdateDeviceClass.FIRMWARE,
|
device_class=UpdateDeviceClass.FIRMWARE,
|
||||||
icon="mdi:cloud-download",
|
|
||||||
current_fw_fn=lambda lm: lm.firmware_version,
|
current_fw_fn=lambda lm: lm.firmware_version,
|
||||||
latest_fw_fn=lambda lm: lm.latest_firmware_version,
|
latest_fw_fn=lambda lm: lm.latest_firmware_version,
|
||||||
component=LaMarzoccoUpdateableComponent.MACHINE,
|
component=LaMarzoccoUpdateableComponent.MACHINE,
|
||||||
@ -50,7 +49,6 @@ ENTITIES: tuple[LaMarzoccoUpdateEntityDescription, ...] = (
|
|||||||
key="gateway_firmware",
|
key="gateway_firmware",
|
||||||
translation_key="gateway_firmware",
|
translation_key="gateway_firmware",
|
||||||
device_class=UpdateDeviceClass.FIRMWARE,
|
device_class=UpdateDeviceClass.FIRMWARE,
|
||||||
icon="mdi:cloud-download",
|
|
||||||
current_fw_fn=lambda lm: lm.gateway_version,
|
current_fw_fn=lambda lm: lm.gateway_version,
|
||||||
latest_fw_fn=lambda lm: lm.latest_gateway_version,
|
latest_fw_fn=lambda lm: lm.latest_gateway_version,
|
||||||
component=LaMarzoccoUpdateableComponent.GATEWAY,
|
component=LaMarzoccoUpdateableComponent.GATEWAY,
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'running',
|
'device_class': 'running',
|
||||||
'friendly_name': 'GS01234 Brewing active',
|
'friendly_name': 'GS01234 Brewing active',
|
||||||
'icon': 'mdi:cup-off',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'binary_sensor.gs01234_brewing_active',
|
'entity_id': 'binary_sensor.gs01234_brewing_active',
|
||||||
@ -34,7 +33,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
|
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
|
||||||
'original_icon': 'mdi:cup-off',
|
'original_icon': None,
|
||||||
'original_name': 'Brewing active',
|
'original_name': 'Brewing active',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -49,7 +48,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'problem',
|
'device_class': 'problem',
|
||||||
'friendly_name': 'GS01234 Water tank empty',
|
'friendly_name': 'GS01234 Water tank empty',
|
||||||
'icon': 'mdi:water-check',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'binary_sensor.gs01234_water_tank_empty',
|
'entity_id': 'binary_sensor.gs01234_water_tank_empty',
|
||||||
@ -79,7 +77,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
|
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
|
||||||
'original_icon': 'mdi:water-check',
|
'original_icon': None,
|
||||||
'original_name': 'Water tank empty',
|
'original_name': 'Water tank empty',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234 Start backflush',
|
'friendly_name': 'GS01234 Start backflush',
|
||||||
'icon': 'mdi:water-sync',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'button.gs01234_start_backflush',
|
'entity_id': 'button.gs01234_start_backflush',
|
||||||
@ -33,7 +32,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:water-sync',
|
'original_icon': None,
|
||||||
'original_name': 'Start backflush',
|
'original_name': 'Start backflush',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'temperature',
|
'device_class': 'temperature',
|
||||||
'friendly_name': 'GS01234 Coffee target temperature',
|
'friendly_name': 'GS01234 Coffee target temperature',
|
||||||
'icon': 'mdi:coffee-maker',
|
|
||||||
'max': 104,
|
'max': 104,
|
||||||
'min': 85,
|
'min': 85,
|
||||||
'mode': <NumberMode.AUTO: 'auto'>,
|
'mode': <NumberMode.AUTO: 'auto'>,
|
||||||
@ -44,7 +43,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
||||||
'original_icon': 'mdi:coffee-maker',
|
'original_icon': None,
|
||||||
'original_name': 'Coffee target temperature',
|
'original_name': 'Coffee target temperature',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -59,7 +58,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'temperature',
|
'device_class': 'temperature',
|
||||||
'friendly_name': 'GS01234 Steam target temperature',
|
'friendly_name': 'GS01234 Steam target temperature',
|
||||||
'icon': 'mdi:kettle-steam',
|
|
||||||
'max': 131,
|
'max': 131,
|
||||||
'min': 126,
|
'min': 126,
|
||||||
'mode': <NumberMode.AUTO: 'auto'>,
|
'mode': <NumberMode.AUTO: 'auto'>,
|
||||||
@ -99,7 +97,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
||||||
'original_icon': 'mdi:kettle-steam',
|
'original_icon': None,
|
||||||
'original_name': 'Steam target temperature',
|
'original_name': 'Steam target temperature',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -114,7 +112,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'temperature',
|
'device_class': 'temperature',
|
||||||
'friendly_name': 'GS01234 Steam target temperature',
|
'friendly_name': 'GS01234 Steam target temperature',
|
||||||
'icon': 'mdi:kettle-steam',
|
|
||||||
'max': 131,
|
'max': 131,
|
||||||
'min': 126,
|
'min': 126,
|
||||||
'mode': <NumberMode.AUTO: 'auto'>,
|
'mode': <NumberMode.AUTO: 'auto'>,
|
||||||
@ -154,7 +151,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
||||||
'original_icon': 'mdi:kettle-steam',
|
'original_icon': None,
|
||||||
'original_name': 'Steam target temperature',
|
'original_name': 'Steam target temperature',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -169,7 +166,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'duration',
|
'device_class': 'duration',
|
||||||
'friendly_name': 'GS01234 Tea water duration',
|
'friendly_name': 'GS01234 Tea water duration',
|
||||||
'icon': 'mdi:water-percent',
|
|
||||||
'max': 30,
|
'max': 30,
|
||||||
'min': 0,
|
'min': 0,
|
||||||
'mode': <NumberMode.AUTO: 'auto'>,
|
'mode': <NumberMode.AUTO: 'auto'>,
|
||||||
@ -209,7 +205,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
||||||
'original_icon': 'mdi:water-percent',
|
'original_icon': None,
|
||||||
'original_name': 'Tea water duration',
|
'original_name': 'Tea water duration',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -224,7 +220,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'duration',
|
'device_class': 'duration',
|
||||||
'friendly_name': 'GS01234 Tea water duration',
|
'friendly_name': 'GS01234 Tea water duration',
|
||||||
'icon': 'mdi:water-percent',
|
|
||||||
'max': 30,
|
'max': 30,
|
||||||
'min': 0,
|
'min': 0,
|
||||||
'mode': <NumberMode.AUTO: 'auto'>,
|
'mode': <NumberMode.AUTO: 'auto'>,
|
||||||
@ -264,7 +259,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
||||||
'original_icon': 'mdi:water-percent',
|
'original_icon': None,
|
||||||
'original_name': 'Tea water duration',
|
'original_name': 'Tea water duration',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234 Prebrew/-infusion mode',
|
'friendly_name': 'GS01234 Prebrew/-infusion mode',
|
||||||
'icon': 'mdi:water-plus',
|
|
||||||
'options': list([
|
'options': list([
|
||||||
'disabled',
|
'disabled',
|
||||||
'prebrew',
|
'prebrew',
|
||||||
@ -44,7 +43,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:water-plus',
|
'original_icon': None,
|
||||||
'original_name': 'Prebrew/-infusion mode',
|
'original_name': 'Prebrew/-infusion mode',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -58,7 +57,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'LM01234 Prebrew/-infusion mode',
|
'friendly_name': 'LM01234 Prebrew/-infusion mode',
|
||||||
'icon': 'mdi:water-plus',
|
|
||||||
'options': list([
|
'options': list([
|
||||||
'disabled',
|
'disabled',
|
||||||
'prebrew',
|
'prebrew',
|
||||||
@ -99,7 +97,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:water-plus',
|
'original_icon': None,
|
||||||
'original_name': 'Prebrew/-infusion mode',
|
'original_name': 'Prebrew/-infusion mode',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -113,7 +111,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'MR01234 Prebrew/-infusion mode',
|
'friendly_name': 'MR01234 Prebrew/-infusion mode',
|
||||||
'icon': 'mdi:water-plus',
|
|
||||||
'options': list([
|
'options': list([
|
||||||
'disabled',
|
'disabled',
|
||||||
'prebrew',
|
'prebrew',
|
||||||
@ -154,7 +151,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:water-plus',
|
'original_icon': None,
|
||||||
'original_name': 'Prebrew/-infusion mode',
|
'original_name': 'Prebrew/-infusion mode',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -168,7 +165,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'MR01234 Steam level',
|
'friendly_name': 'MR01234 Steam level',
|
||||||
'icon': 'mdi:water-thermometer',
|
|
||||||
'options': list([
|
'options': list([
|
||||||
'1',
|
'1',
|
||||||
'2',
|
'2',
|
||||||
@ -209,7 +205,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:water-thermometer',
|
'original_icon': None,
|
||||||
'original_name': 'Steam level',
|
'original_name': 'Steam level',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
|
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
|
||||||
'original_icon': 'mdi:thermometer',
|
'original_icon': None,
|
||||||
'original_name': 'Current coffee temperature',
|
'original_name': 'Current coffee temperature',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -37,7 +37,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'temperature',
|
'device_class': 'temperature',
|
||||||
'friendly_name': 'GS01234 Current coffee temperature',
|
'friendly_name': 'GS01234 Current coffee temperature',
|
||||||
'icon': 'mdi:thermometer',
|
|
||||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||||
}),
|
}),
|
||||||
@ -71,7 +70,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
|
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
|
||||||
'original_icon': 'mdi:thermometer',
|
'original_icon': None,
|
||||||
'original_name': 'Current steam temperature',
|
'original_name': 'Current steam temperature',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -86,7 +85,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'temperature',
|
'device_class': 'temperature',
|
||||||
'friendly_name': 'GS01234 Current steam temperature',
|
'friendly_name': 'GS01234 Current steam temperature',
|
||||||
'icon': 'mdi:thermometer',
|
|
||||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||||
}),
|
}),
|
||||||
@ -120,7 +118,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.DURATION: 'duration'>,
|
'original_device_class': <SensorDeviceClass.DURATION: 'duration'>,
|
||||||
'original_icon': 'mdi:timer',
|
'original_icon': None,
|
||||||
'original_name': 'Shot timer',
|
'original_name': 'Shot timer',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -135,7 +133,6 @@
|
|||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'duration',
|
'device_class': 'duration',
|
||||||
'friendly_name': 'GS01234 Shot timer',
|
'friendly_name': 'GS01234 Shot timer',
|
||||||
'icon': 'mdi:timer',
|
|
||||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||||
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
||||||
}),
|
}),
|
||||||
@ -169,7 +166,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:chart-line',
|
'original_icon': None,
|
||||||
'original_name': 'Total coffees made',
|
'original_name': 'Total coffees made',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -183,7 +180,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234 Total coffees made',
|
'friendly_name': 'GS01234 Total coffees made',
|
||||||
'icon': 'mdi:chart-line',
|
|
||||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||||
'unit_of_measurement': 'drinks',
|
'unit_of_measurement': 'drinks',
|
||||||
}),
|
}),
|
||||||
@ -217,7 +213,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:chart-line',
|
'original_icon': None,
|
||||||
'original_name': 'Total flushes made',
|
'original_name': 'Total flushes made',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -231,7 +227,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234 Total flushes made',
|
'friendly_name': 'GS01234 Total flushes made',
|
||||||
'icon': 'mdi:chart-line',
|
|
||||||
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
|
||||||
'unit_of_measurement': 'drinks',
|
'unit_of_measurement': 'drinks',
|
||||||
}),
|
}),
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234',
|
'friendly_name': 'GS01234',
|
||||||
'icon': 'mdi:power',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.gs01234',
|
'entity_id': 'switch.gs01234',
|
||||||
@ -61,7 +60,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:power',
|
'original_icon': None,
|
||||||
'original_name': None,
|
'original_name': None,
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -75,7 +74,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234 Auto on/off',
|
'friendly_name': 'GS01234 Auto on/off',
|
||||||
'icon': 'mdi:alarm',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.gs01234_auto_on_off',
|
'entity_id': 'switch.gs01234_auto_on_off',
|
||||||
@ -105,7 +103,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:alarm',
|
'original_icon': None,
|
||||||
'original_name': 'Auto on/off',
|
'original_name': 'Auto on/off',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -119,7 +117,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'GS01234 Steam boiler',
|
'friendly_name': 'GS01234 Steam boiler',
|
||||||
'icon': 'mdi:water-boiler',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.gs01234_steam_boiler',
|
'entity_id': 'switch.gs01234_steam_boiler',
|
||||||
@ -149,7 +146,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:water-boiler',
|
'original_icon': None,
|
||||||
'original_name': 'Steam boiler',
|
'original_name': 'Steam boiler',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
'device_class': 'firmware',
|
'device_class': 'firmware',
|
||||||
'entity_picture': 'https://brands.home-assistant.io/_/lamarzocco/icon.png',
|
'entity_picture': 'https://brands.home-assistant.io/_/lamarzocco/icon.png',
|
||||||
'friendly_name': 'GS01234 Gateway firmware',
|
'friendly_name': 'GS01234 Gateway firmware',
|
||||||
'icon': 'mdi:cloud-download',
|
|
||||||
'in_progress': False,
|
'in_progress': False,
|
||||||
'installed_version': 'v2.2-rc0',
|
'installed_version': 'v2.2-rc0',
|
||||||
'latest_version': 'v3.1-rc4',
|
'latest_version': 'v3.1-rc4',
|
||||||
@ -44,7 +43,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||||
'original_icon': 'mdi:cloud-download',
|
'original_icon': None,
|
||||||
'original_name': 'Gateway firmware',
|
'original_name': 'Gateway firmware',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -61,7 +60,6 @@
|
|||||||
'device_class': 'firmware',
|
'device_class': 'firmware',
|
||||||
'entity_picture': 'https://brands.home-assistant.io/_/lamarzocco/icon.png',
|
'entity_picture': 'https://brands.home-assistant.io/_/lamarzocco/icon.png',
|
||||||
'friendly_name': 'GS01234 Machine firmware',
|
'friendly_name': 'GS01234 Machine firmware',
|
||||||
'icon': 'mdi:cloud-download',
|
|
||||||
'in_progress': False,
|
'in_progress': False,
|
||||||
'installed_version': '1.1',
|
'installed_version': '1.1',
|
||||||
'latest_version': '1.2',
|
'latest_version': '1.2',
|
||||||
@ -99,7 +97,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
||||||
'original_icon': 'mdi:cloud-download',
|
'original_icon': None,
|
||||||
'original_name': 'Machine firmware',
|
'original_name': 'Machine firmware',
|
||||||
'platform': 'lamarzocco',
|
'platform': 'lamarzocco',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user