mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump pylamarzocco to 1.4.7 (#139231)
This commit is contained in:
parent
6342d8334b
commit
c386abd49d
@ -83,7 +83,7 @@ async def async_setup_entry(
|
||||
]
|
||||
|
||||
if (
|
||||
coordinator.device.model == MachineModel.LINEA_MINI
|
||||
coordinator.device.model in (MachineModel.LINEA_MINI, MachineModel.LINEA_MINI_R)
|
||||
and coordinator.device.config.scale
|
||||
):
|
||||
entities.extend(
|
||||
|
@ -37,5 +37,5 @@
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["pylamarzocco"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["pylamarzocco==1.4.6"]
|
||||
"requirements": ["pylamarzocco==1.4.7"]
|
||||
}
|
||||
|
@ -220,7 +220,8 @@ SCALE_KEY_ENTITIES: tuple[LaMarzoccoKeyNumberEntityDescription, ...] = (
|
||||
config.bbw_settings.doses[key] if config.bbw_settings else None
|
||||
),
|
||||
supported_fn=(
|
||||
lambda coordinator: coordinator.device.model == MachineModel.LINEA_MINI
|
||||
lambda coordinator: coordinator.device.model
|
||||
in (MachineModel.LINEA_MINI, MachineModel.LINEA_MINI_R)
|
||||
and coordinator.device.config.scale is not None
|
||||
),
|
||||
),
|
||||
|
@ -88,6 +88,7 @@ ENTITIES: tuple[LaMarzoccoSelectEntityDescription, ...] = (
|
||||
MachineModel.GS3_AV,
|
||||
MachineModel.LINEA_MICRA,
|
||||
MachineModel.LINEA_MINI,
|
||||
MachineModel.LINEA_MINI_R,
|
||||
),
|
||||
),
|
||||
LaMarzoccoSelectEntityDescription(
|
||||
@ -138,7 +139,7 @@ async def async_setup_entry(
|
||||
]
|
||||
|
||||
if (
|
||||
coordinator.device.model == MachineModel.LINEA_MINI
|
||||
coordinator.device.model in (MachineModel.LINEA_MINI, MachineModel.LINEA_MINI_R)
|
||||
and coordinator.device.config.scale
|
||||
):
|
||||
entities.extend(
|
||||
|
@ -80,7 +80,7 @@ ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
||||
BoilerType.STEAM
|
||||
].current_temperature,
|
||||
supported_fn=lambda coordinator: coordinator.device.model
|
||||
!= MachineModel.LINEA_MINI,
|
||||
not in (MachineModel.LINEA_MINI, MachineModel.LINEA_MINI_R),
|
||||
),
|
||||
)
|
||||
|
||||
@ -125,7 +125,8 @@ SCALE_ENTITIES: tuple[LaMarzoccoSensorEntityDescription, ...] = (
|
||||
device.config.scale.battery if device.config.scale else 0
|
||||
),
|
||||
supported_fn=(
|
||||
lambda coordinator: coordinator.device.model == MachineModel.LINEA_MINI
|
||||
lambda coordinator: coordinator.device.model
|
||||
in (MachineModel.LINEA_MINI, MachineModel.LINEA_MINI_R)
|
||||
),
|
||||
),
|
||||
)
|
||||
@ -148,7 +149,8 @@ async def async_setup_entry(
|
||||
]
|
||||
|
||||
if (
|
||||
config_coordinator.device.model == MachineModel.LINEA_MINI
|
||||
config_coordinator.device.model
|
||||
in (MachineModel.LINEA_MINI, MachineModel.LINEA_MINI_R)
|
||||
and config_coordinator.device.config.scale
|
||||
):
|
||||
entities.extend(
|
||||
|
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@ -2077,7 +2077,7 @@ pykwb==0.0.8
|
||||
pylacrosse==0.4
|
||||
|
||||
# homeassistant.components.lamarzocco
|
||||
pylamarzocco==1.4.6
|
||||
pylamarzocco==1.4.7
|
||||
|
||||
# homeassistant.components.lastfm
|
||||
pylast==5.1.0
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -1691,7 +1691,7 @@ pykrakenapi==0.1.8
|
||||
pykulersky==0.5.2
|
||||
|
||||
# homeassistant.components.lamarzocco
|
||||
pylamarzocco==1.4.6
|
||||
pylamarzocco==1.4.7
|
||||
|
||||
# homeassistant.components.lastfm
|
||||
pylast==5.1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user