-
Notifications
You must be signed in to change notification settings - Fork 640
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
Add Support for Drexma WiStat thermostat ET7AW #3016
base: main
Are you sure you want to change the base?
Conversation
FYI, this is primarily based on jiahong_et72w_thermostat.yaml with a few additions and modifications of the DPs. |
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
min: -90 | ||
max: 90 | ||
- id: 107 | ||
name: unit |
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.
Since this is a relative temperature, we cannot have HA doing conversions, so it is better to use a hardcoded unit: °
on the dp above and remove the dynamic unit dp.
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.
The dynamic unit dp
is retained, with the unit hardcoded to °
and the class: temperature
attribute removed. This prevents HA from performing conversions, allowing the calibration range and step to update automatically as needed.
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
custom_components/tuya_local/devices/drexma_et7aw_thermostat.yaml
Outdated
Show resolved
Hide resolved
…ing 'problem' class
name: preset_mode | ||
mapping: | ||
- dps_val: "Smart" | ||
value: Program |
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.
Use all lower case here to pick up the translations.
name: lock | ||
- entity: select | ||
name: Location | ||
type: string |
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.
Type is not valid here.
Add support for Drexma WiStat thermostat (model: ET-7AW), which is used for floor heating. Product details can be found here. I also added its document and DPs retrieved via the Tuya IoT API in docs folder in my fork so it can be referenced if anyone wants to modify or develop this farther.