File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -844,12 +844,15 @@ def _get_appliance_data(self, d_id: str) -> DeviceData:
844844 if self ._smile_legacy and self .smile_type == "power" :
845845 return data
846846
847- measurements = DEVICE_MEASUREMENTS
848- if self ._opentherm_device or self ._on_off_device :
849- measurements = {
850- ** DEVICE_MEASUREMENTS ,
851- ** HEATER_CENTRAL_MEASUREMENTS ,
852- }
847+ if d_id == self ._heater_id :
848+ measurements = HEATER_CENTRAL_MEASUREMENTS
849+ else :
850+ measurements = DEVICE_MEASUREMENTS
851+ # if self._opentherm_device or self._on_off_device:
852+ # measurements = {
853+ # **DEVICE_MEASUREMENTS,
854+ # **HEATER_CENTRAL_MEASUREMENTS,
855+ # }
853856
854857 if (
855858 appliance := self ._appliances .find (f'./appliance[@id="{ d_id } "]' )
You can’t perform that action at this time.
0 commit comments