Skip to content

Commit

Permalink
fix HeaterCooler
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaybz committed Dec 19, 2021
1 parent f5f257e commit 4e37804
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions accessories/HeaterCooler.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ class HeaterCooler {

updateState(state) {
this.state = state

if (!this.HeaterCoolerService)
return

this.HeaterCoolerService.getCharacteristic(Characteristic.CurrentTemperature).updateValue(this.state['current_temp'])

// if status is OFF, set all services to INACTIVE
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "homebridge-switcher-platform",
"description": "Homebridge plugin for Switcher Smart Accessories",
"version": "4.2.0-beta.0",
"version": "4.2.0-beta.1",
"repository": {
"type": "git",
"url": "git://github.com/nitaybz/homebridge-switcher-platform.git"
Expand Down

0 comments on commit 4e37804

Please sign in to comment.