Update mypy-dev to 1.13.0a1 (#128548)
parent
006d511d47
commit
cb1b917aa6
|
@ -408,7 +408,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: # noqa:
|
|||
def preprocess_data(data: dict[str, Any]) -> VolDictType:
|
||||
"""Preprocess the service data."""
|
||||
base: VolDictType = {
|
||||
entity_field: data.pop(entity_field)
|
||||
entity_field: data.pop(entity_field) # type: ignore[arg-type]
|
||||
for entity_field in cv.ENTITY_SERVICE_FIELDS
|
||||
if entity_field in data
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@ async def async_setup_entry(
|
|||
# ie Atlantic APC
|
||||
entities_based_on_widget_and_controllable: list[Entity] = [
|
||||
WIDGET_AND_CONTROLLABLE_TO_CLIMATE_ENTITY[device.widget][
|
||||
device.controllable_name
|
||||
device.controllable_name # type: ignore[index]
|
||||
](device.device_url, data.coordinator)
|
||||
for device in data.platforms[Platform.CLIMATE]
|
||||
if device.widget in WIDGET_AND_CONTROLLABLE_TO_CLIMATE_ENTITY
|
||||
|
|
|
@ -11,7 +11,7 @@ astroid==3.3.4
|
|||
coverage==7.6.1
|
||||
freezegun==1.5.1
|
||||
mock-open==1.4.0
|
||||
mypy-dev==1.12.0a5
|
||||
mypy-dev==1.13.0a1
|
||||
pre-commit==4.0.0
|
||||
pydantic==1.10.18
|
||||
pylint==3.3.1
|
||||
|
|
Loading…
Reference in New Issue