Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Mar 16, 2024
1 parent 07f16d5 commit bd1445f
Show file tree
Hide file tree
Showing 6 changed files with 1,283 additions and 253 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
- `MINOR` version when a new device type is added, or when a new feature is added that is backwards-compatible
- `PATCH` version when backwards-compatible bug fixes are implemented

## BETA

### Added

- Allow `H5108` Thermometer (#736) (@BroHammie)
- Add support for `H61B5`

### Changed

- Bump `node` supported versions to v18.19.1 or v20.11.1
- Updated dependencies

## 10.4.0 (2024-02-06)

### Added
Expand Down
10 changes: 5 additions & 5 deletions lib/device/heater1b.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ export default class {
// Add options to the heater target state characteristic
this.service
.getCharacteristic(this.hapChar.TargetHeaterCoolerState)
// .setProps({
// minValue: 0,
// maxValue: 1,
// validValues: [0, 1],
// })
.setProps({
minValue: 0,
maxValue: 1,
validValues: [0, 1],
})
.onSet(async (value) => this.internalModeUpdate(value));
this.cacheMode = this.service.getCharacteristic(this.hapChar.TargetHeaterCoolerState).value === 0 ? 'auto' : 'heat';

Expand Down
10 changes: 5 additions & 5 deletions lib/device/heater2.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ export default class {
// Add options to the heater target state characteristic
this.service
.getCharacteristic(this.hapChar.TargetHeaterCoolerState)
// .setProps({
// minValue: 0,
// maxValue: 1,
// validValues: [0, 1],
// })
.setProps({
minValue: 0,
maxValue: 1,
validValues: [0, 1],
})
.onSet(async (value) => this.internalModeUpdate(value));

this.cacheTemp = this.service.getCharacteristic(this.hapChar.CurrentTemperature).value;
Expand Down
1 change: 1 addition & 0 deletions lib/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export default {
'H61A5',
'H61A8',
'H61B2',
'H61B5',
'H61BA',
'H61BC',
'H61BE',
Expand Down
Loading

0 comments on commit bd1445f

Please sign in to comment.