Skip to content

Commit

Permalink
Fixed updateCharacteristicUI typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-cam committed Sep 25, 2024
1 parent 0d3eb62 commit 7ac8074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessories/aircon.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ class AirConAccessory extends BroadlinkRMAccessory {

//serviceManager.refreshCharacteristicUI(Characteristic.CurrentTemperature);
//if(!noHumidity){serviceManager.refreshCharacteristicUI(Characteristic.CurrentRelativeHumidity);}
serviceManager.updateCharacteristicUI(Characteristic.CurrentTemperature, this.state.currentTemperature);
serviceManager.updateCharacteristic(Characteristic.CurrentTemperature, this.state.currentTemperature);
if(!noHumidity){serviceManager.updateCharacteristic(Characteristic.CurrentRelativeHumidity, this.state.currentHumidity);}
}

Expand Down

0 comments on commit 7ac8074

Please sign in to comment.