@@ -417,14 +417,14 @@ def __map_equipment(self, payload: DaikinDeviceDataResponse) -> dict[str, Daikin
417
417
serial = serial ,
418
418
mode = payload .data ["ctIFCOperatingHeatCoolMode" ].strip ().capitalize (),
419
419
current_airflow = payload .data ["ctIFCIndoorBlowerAirflow" ],
420
- fan_demand_requested_percent = payload .data ["ctIFCFanRequestedDemandPercent" ] / 2 ,
421
- fan_demand_current_percent = payload .data ["ctIFCCurrentFanActualStatus" ] / 2 ,
422
- heat_demand_requested_percent = payload .data ["ctIFCHeatRequestedDemandPercent" ] / 2 ,
423
- heat_demand_current_percent = payload .data ["ctIFCCurrentHeatActualStatus" ] / 2 ,
424
- cool_demand_requested_percent = payload .data ["ctIFCCoolRequestedDemandPercent" ] / 2 ,
425
- cool_demand_current_percent = payload .data ["ctIFCCurrentCoolActualStatus" ] / 2 ,
426
- humidification_demand_requested_percent = payload .data ["ctIFCHumRequestedDemandPercent" ] / 2 ,
427
- dehumidification_demand_requested_percent = payload .data ["ctIFCDehumRequestedDemandPercent" ] / 2 ,
420
+ fan_demand_requested_percent = round ( payload .data ["ctIFCFanRequestedDemandPercent" ] / 2 ) ,
421
+ fan_demand_current_percent = round ( payload .data ["ctIFCCurrentFanActualStatus" ] / 2 ) ,
422
+ heat_demand_requested_percent = round ( payload .data ["ctIFCHeatRequestedDemandPercent" ] / 2 ) ,
423
+ heat_demand_current_percent = round ( payload .data ["ctIFCCurrentHeatActualStatus" ] / 2 ) ,
424
+ cool_demand_requested_percent = round ( payload .data ["ctIFCCoolRequestedDemandPercent" ] / 2 ) ,
425
+ cool_demand_current_percent = round ( payload .data ["ctIFCCurrentCoolActualStatus" ] / 2 ) ,
426
+ humidification_demand_requested_percent = round ( payload .data ["ctIFCHumRequestedDemandPercent" ] / 2 ) ,
427
+ dehumidification_demand_requested_percent = round ( payload .data ["ctIFCDehumRequestedDemandPercent" ] / 2 ) ,
428
428
power_usage = payload .data ["ctIndoorPower" ] / 10 ,
429
429
)
430
430
0 commit comments