Skip to content

Commit

Permalink
Fix for #572
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Jul 7, 2023
1 parent aa47ce6 commit 22ab646
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 5 additions & 4 deletions lib/parse/Characteristic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 22ab646

Please sign in to comment.