File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ class SmileData(SmileHelper):
2727
2828 def __init__ (self ) -> None :
2929 """Init."""
30+ super ().__init__ ()
3031 self ._smile_props : SmileProps
3132 self ._zones : dict [str , GwEntityData ] = {}
32- SmileHelper .__init__ (self )
3333
3434 def _all_entity_data (self ) -> None :
3535 """Helper-function for get_all_gateway_entities().
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ class SmileHelper(SmileCommon):
7575
7676 def __init__ (self ) -> None :
7777 """Set the constructor for this class."""
78+ super ().__init__ ()
7879 self ._endpoint : str
7980 self ._elga : bool
8081 self ._is_thermostat : bool
@@ -89,7 +90,6 @@ def __init__(self) -> None:
8990 self .smile_model : str
9091 self .smile_model_id : str | None
9192 self .smile_version : version .Version
92- SmileCommon .__init__ (self )
9393
9494 def _all_appliances (self ) -> None :
9595 """Collect all appliances with relevant info.
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ class SmileLegacyData(SmileLegacyHelper):
1717
1818 def __init__ (self ) -> None :
1919 """Init."""
20+ super ().__init__ ()
2021 self ._smile_props : SmileProps
21- SmileLegacyHelper .__init__ (self )
2222
2323 def _all_entity_data (self ) -> None :
2424 """Helper-function for get_all_gateway_entities().
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ class SmileLegacyHelper(SmileCommon):
6464
6565 def __init__ (self ) -> None :
6666 """Set the constructor for this class."""
67+ super ().__init__ ()
6768 self ._appliances : etree .Element
6869 self ._is_thermostat : bool
6970 self ._loc_data : dict [str , ThermoLoc ]
@@ -75,7 +76,6 @@ def __init__(self) -> None:
7576 self .smile_model : str
7677 self .smile_version : Version
7778 self .smile_zigbee_mac_address : str | None
78- SmileCommon .__init__ (self )
7979
8080 def _all_appliances (self ) -> None :
8181 """Collect all appliances with relevant info."""
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ def __init__(
5454 smile_zigbee_mac_address : str | None ,
5555 ) -> None :
5656 """Set the constructor for this class."""
57+ super ().__init__ ()
5758 self ._cooling_present = False
5859 self ._is_thermostat = _is_thermostat
5960 self ._loc_data = _loc_data
@@ -71,7 +72,6 @@ def __init__(
7172 self .smile_type = smile_type
7273 self .smile_version = smile_version
7374 self .smile_zigbee_mac_address = smile_zigbee_mac_address
74- SmileLegacyData .__init__ (self )
7575
7676 self ._first_update = True
7777 self ._previous_day_number : str = "0"
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ def __init__(
6262 smile_version : Version ,
6363 ) -> None :
6464 """Set the constructor for this class."""
65+ super ().__init__ ()
6566 self ._cooling_present = _cooling_present
6667 self ._elga = _elga
6768 self ._is_thermostat = _is_thermostat
@@ -81,7 +82,6 @@ def __init__(
8182 self .smile_type = smile_type
8283 self .smile_version = smile_version
8384 self .therms_with_offset_func : list [str ] = []
84- SmileData .__init__ (self )
8585
8686 async def full_xml_update (self ) -> None :
8787 """Perform a first fetch of the Plugwise server XML data."""
You can’t perform that action at this time.
0 commit comments