-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(thermostat): add hvac mode #46
base: master
Are you sure you want to change the base?
Conversation
2997321
to
8279758
Compare
@ttherbrink can i have a first review? |
8279758
to
e376d3b
Compare
this.knxInterface.readKNXGroupAddress(this.settings.ga_hvac_operating_mode) | ||
.catch((knxerror) => { | ||
this.log(knxerror); | ||
throw new Error(this.homey.__('errors.hvac_mode_get_failed')); // TODO add Message translation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO comment
onCapabilityTargetTemperature(value, opts) { | ||
this.getMeasuredTemperature(); | ||
onCapabilityTargetTemperature(value) { | ||
// this.getMeasuredTemperature(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems not required because knx already push value when changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair. However I have the feeling it was there for a reason (it was added before i was involved with this repo)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is looking good. just some small things left. I will do a small test today. Hopefully we are able to release a test version before the weekend
onCapabilityTargetTemperature(value, opts) { | ||
this.getMeasuredTemperature(); | ||
onCapabilityTargetTemperature(value) { | ||
// this.getMeasuredTemperature(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair. However I have the feeling it was there for a reason (it was added before i was involved with this repo)
3de76b6
to
6b0317d
Compare
Fix: #44