mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
fix mypy findings
This commit is contained in:
@@ -169,10 +169,10 @@ class ViCareClimate(ViCareEntity, ClimateEntity):
|
||||
self._attr_name = name
|
||||
self._api = api
|
||||
self._circuit = circuit
|
||||
self._attributes = {}
|
||||
self._attributes: map = {}
|
||||
self._current_mode = None
|
||||
self._current_program = None
|
||||
self._current_action = None
|
||||
self._current_action: bool = None
|
||||
self._attr_unique_id = f"{device_config.getConfig().serial}-{circuit.id}"
|
||||
ViCareEntity.__init__(self, device_config, has_multiple_devices)
|
||||
|
||||
|
@@ -120,7 +120,7 @@ class ViCareWater(ViCareEntity, WaterHeaterEntity):
|
||||
self._attr_name = name
|
||||
self._api = api
|
||||
self._circuit = circuit
|
||||
self._attributes = {}
|
||||
self._attributes: map = {}
|
||||
self._current_mode = None
|
||||
self._attr_unique_id = f"{device_config.getConfig().serial}-{circuit.id}"
|
||||
ViCareEntity.__init__(self, device_config, has_multiple_devices)
|
||||
|
Reference in New Issue
Block a user