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

Improve status scaling #158

Merged
merged 7 commits into from
Aug 16, 2024
Merged

Conversation

JELoohuis
Copy link
Collaborator

- Improved socket power scaling
Two additional socket power scaling factors were added to the settings.
The settings is now also set automatically if provided by the device.

- Added additional values scaling
Not all devices use the scaling values documented by Tuya, such as the heater in #152.
To handle this scaling settings were also added to heaters and additional scaling settings were added to sockets.

@bobvandevijver bobvandevijver added the enhancement New feature or request label Aug 16, 2024
@bobvandevijver bobvandevijver added this to the Release 1.2.x milestone Aug 16, 2024
drivers/heater/driver.ts Outdated Show resolved Hide resolved
@bobvandevijver bobvandevijver merged commit bad5cac into athombv:master Aug 16, 2024
3 checks passed
@bobvandevijver bobvandevijver deleted the improve-status-scaling branch August 16, 2024 13:15
@bobvandevijver bobvandevijver mentioned this pull request Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants