fix pylint findings

This commit is contained in:
Christopher Fenner
2023-10-06 09:55:11 +02:00
parent d846584bf7
commit 2e525dedae
3 changed files with 3 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ class ViCareClimate(ViCareEntity, ClimateEntity):
_attr_target_temperature_step = PRECISION_WHOLE
_attr_preset_modes = list(HA_TO_VICARE_PRESET_HEATING)
def __init__(self, name, api, circuit, device_config, has_multiple_devices: bool):
def __init__(self, name, api, circuit, device_config, has_multiple_devices: bool) -> None:
"""Initialize the climate device."""
self._attr_name = name

View File

@@ -597,7 +597,7 @@ def _build_entity(name, vicare_api, device_config, sensor, has_multiple_devices:
async def _entities_from_descriptions(
hass, entities, sensor_descriptions, iterables, device, has_multiple_devices: bool
hass: HomeAssistant, entities, sensor_descriptions, iterables, device, has_multiple_devices: bool
):
"""Create entities from descriptions and list of burners/circuits."""
for description in sensor_descriptions:

View File

@@ -115,7 +115,7 @@ class ViCareWater(ViCareEntity, WaterHeaterEntity):
_attr_max_temp = VICARE_TEMP_WATER_MAX
_attr_operation_list = list(HA_TO_VICARE_HVAC_DHW)
def __init__(self, name, api, circuit, device_config, has_multiple_devices: bool):
def __init__(self, name, api, circuit, device_config, has_multiple_devices: bool) -> None:
"""Initialize the DHW water_heater device."""
self._attr_name = name
self._api = api