mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
fix pylint findings
This commit is contained in:
@@ -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
|
||||
|
@@ -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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user