File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,11 @@ def _count_data_items(self, data: GwEntityData) -> None:
137137 Also, count the remaining single data items, the amount of dicts present have already been pre-subtracted in the previous step.
138138 """
139139 if "binary_sensors" in data :
140- self ._count += len (data ["binary_sensors" ]) - 1
140+ self ._count += len (data ["binary_sensors" ]) - 1
141141 if "sensors" in data :
142142 self ._count += len (data ["sensors" ]) - 1
143143 if "switches" in data :
144- self ._count += len (data ["switches" ]) - 1
144+ self ._count += len (data ["switches" ]) - 1
145145 self ._count += len (data )
146146
147147 def _power_data_peak_value (self , loc : Munch , legacy : bool ) -> Munch :
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def __init__(self) -> None:
8989 self .smile_name : str
9090 self .smile_type : str
9191 self .smile_zigbee_mac_address : str | None
92- self .zone_data : dict [str , GwEntityData ] = {}
92+ self .zones : dict [str , GwEntityData ] = {}
9393 SmileCommon .__init__ (self )
9494
9595 def _all_appliances (self ) -> None :
You can’t perform that action at this time.
0 commit comments