Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"heatOnly": true - ignores auto mode #54

Open
duculete opened this issue Oct 10, 2020 · 1 comment
Open

"heatOnly": true - ignores auto mode #54

duculete opened this issue Oct 10, 2020 · 1 comment

Comments

@duculete
Copy link

if headonly = true, maybe i want to have the following:

off - boiler is off permanently
on - boiler is allways on
auto - based on temperature threshold if currTemp < targetTemp - start heating, if currTemp > targetTemp - stop heating

update code:

if (this.heatOnly) {
this.service.getCharacteristic(Characteristic.TargetHeatingCoolingState)
.setProps({
minValue: 0,
maxValue: 3, < 0...3
validValues: [0,1,3] <<< add 3, ignore 2 (cooling)
});

@PJCzx
Copy link
Owner

PJCzx commented Oct 21, 2020

Yeah great :) Do you mind to make a pull request in order to add a "working code" directly ? I do not use the plugin anymore I'm just taking care of the repo by now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants