diff --git a/CHANGELOG.md b/CHANGELOG.md index 6db0cd9..0f0ce53 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [4.4.19 - 2024-09-30] ### Fixed - - refreshCharacteristic and value() were not updating the UI. Rebuilt to use updateValue method. (#733) - - Replaced switch's use of refreshCharacteristicUI to update the UI (#725) + - refreshCharacteristic and value() were not updating the UI. Rebuilt to use updateValue method. (#733 and #725) ### Added - updated package to show Homebridge 2.0 support (#730) diff --git a/accessories/aircon.js b/accessories/aircon.js index 0bd198c..d7ba994 100755 --- a/accessories/aircon.js +++ b/accessories/aircon.js @@ -424,7 +424,6 @@ class AirConAccessory extends BroadlinkRMAccessory { this.updateTemperatureUI(); if (!config.isUnitTest) {setInterval(()=>{this.getCurrentTemperature(this.updateTemperatureUI.bind(this))}, config.temperatureUpdateFrequency * 1000)} - //if (!config.isUnitTest) {setInterval(this.updateTemperatureUI.bind(this), config.temperatureUpdateFrequency * 1000)} } onTemperature (temperature,humidity) { diff --git a/accessories/humidifier-dehumidifier.js b/accessories/humidifier-dehumidifier.js index aff2474..0dcc89d 100755 --- a/accessories/humidifier-dehumidifier.js +++ b/accessories/humidifier-dehumidifier.js @@ -202,7 +202,7 @@ class HumidifierDehumidifierAccessory extends FanAccessory { device.checkHumidity(); this.updateHumidityUI(); - if (!config.isUnitTest && !config.noHumidity) {setInterval(this.updateHumidityUI.bind(this), config.humidityUpdateFrequency * 1000)} + if (!config.isUnitTest && !config.noHumidity) {setInterval(()=>{this.getCurrentHumidity(this.updateHumidityUI.bind(this))}, config.humidityUpdateFrequency * 1000)} } onHumidity (temperature,humidity) { diff --git a/package-lock.json b/package-lock.json index 0f4471a..c971615 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "homebridge-broadlink-rm-pro", - "version": "4.4.19-beta.4", + "version": "4.4.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "homebridge-broadlink-rm-pro", - "version": "4.4.19-beta.4", + "version": "4.4.19", "license": "ISC", "dependencies": { "await-semaphore": "^0.1.3", diff --git a/package.json b/package.json index af44fcd..c560300 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebridge-broadlink-rm-pro", "displayName": "Homebridge Broadlink RM Pro", - "version": "4.4.19-beta.4", + "version": "4.4.19", "description": "Broadlink RM plugin (including the mini and pro) for homebridge with AC Pro and TV features", "license": "ISC", "scripts": {