From 22ab6461e896e1de6c2c465f57031c6fdb924320 Mon Sep 17 00:00:00 2001 From: Northern Man <19808920+NorthernMan54@users.noreply.github.com> Date: Fri, 7 Jul 2023 10:05:08 -0400 Subject: [PATCH] Fix for #572 --- CHANGELOG.md | 8 ++++++++ lib/parse/Characteristic.js | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5271815..23563e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/). +## 0.6.6 (2023-07-07) + +## [Version 0.6.6](https://github.com/northernman54/homebridge-alexa/compare/v0.6.5...v0.6.6) + +#### Changes + +- Fix for issue #572, Issue with Heater/Cooler devices and alexa status request failing with an error. + ## 0.6.5 (2023-01-03) ## [Version 0.6.4](https://github.com/northernman54/homebridge-alexa/compare/v0.6.4...v0.6.5) diff --git a/lib/parse/Characteristic.js b/lib/parse/Characteristic.js index d922a3f..c04ecd0 100644 --- a/lib/parse/Characteristic.js +++ b/lib/parse/Characteristic.js @@ -253,10 +253,11 @@ function _getActions(description, context, devices) { reportState.push(messages.reportState("Alexa.ThermostatControllerupperSetpoint", context)); cookie["upperSetpoint"] = messages.cookie(context); // issue #312 - target setpoint missing from heater / cooler devices - if (context.type === '000000BC') { - reportState.push(messages.reportState("Alexa.ThermostatControllertargetSetpoint", context)); - cookie["targetSetpoint"] = messages.cookie(context); - } + // Issue #572 - requesting status multiple times from the same iid triggers an error + // if (context.type === '000000BC') { + // reportState.push(messages.reportState("Alexa.ThermostatControllertargetSetpoint", context)); + // cookie["targetSetpoint"] = messages.cookie(context); + // } break; case "Target Heater-Cooler State": case "Target Heater Cooler State":