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

feat(thermostat): add hvac mode #46

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

sebglon
Copy link
Contributor

@sebglon sebglon commented Jan 11, 2025

Fix: #44

@sebglon sebglon force-pushed the feat/thermostat/add-hvac_mode branch 4 times, most recently from 2997321 to 8279758 Compare January 24, 2025 21:34
@sebglon
Copy link
Contributor Author

sebglon commented Jan 24, 2025

@ttherbrink can i have a first review?

@sebglon sebglon force-pushed the feat/thermostat/add-hvac_mode branch from 8279758 to e376d3b Compare January 24, 2025 22:23
@sebglon sebglon marked this pull request as ready for review January 30, 2025 10:08
drivers/knx_thermostat/driver.compose.json Outdated Show resolved Hide resolved
drivers/knx_thermostat/driver.flow.compose.json Outdated Show resolved Hide resolved
locales/da.json Outdated Show resolved Hide resolved
locales/de.json Outdated Show resolved Hide resolved
locales/es.json Outdated Show resolved Hide resolved
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO comment

drivers/knx_thermostat/device.js Outdated Show resolved Hide resolved
onCapabilityTargetTemperature(value, opts) {
this.getMeasuredTemperature();
onCapabilityTargetTemperature(value) {
// this.getMeasuredTemperature();
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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)

Copy link
Contributor

@ttherbrink ttherbrink left a 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

locales/es.json Outdated Show resolved Hide resolved
onCapabilityTargetTemperature(value, opts) {
this.getMeasuredTemperature();
onCapabilityTargetTemperature(value) {
// this.getMeasuredTemperature();
Copy link
Contributor

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)

@sebglon sebglon force-pushed the feat/thermostat/add-hvac_mode branch from 3de76b6 to 6b0317d Compare January 31, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Feature request Add HVAC mode on thermostat
2 participants