-
Notifications
You must be signed in to change notification settings - Fork 530
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
avatto_trv06_radiatorvalve.yaml addon … Issue #2457 #2465
base: main
Are you sure you want to change the base?
Conversation
I need help to finish [custom_components.tuya_local.device] Bureau received {"28": "AwYAANIIAACgDAAA0g4AAKASAADSFgAAoA==", "full_poll": false} it is not the solution
|
type: integer | ||
optional: true | ||
name: value | ||
unit: C |
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.
Unit needs to be ° since we need to avoid unit conversion in the case the user has their display preference in HA set to F, so that 0 is always 0.
mapping: | ||
- dps_val: 0 | ||
value: false | ||
- value: true |
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.
In other devices that use a bitfield to indicate low battery, the low battery indication is a specific bit, and there will often be other bits indicating other things like charging. To avoid falsely indicating a low battery, it would be better to identify which bit is indicating low battery, and map that bit to true, with the default mapping being false.
addon Battery frost_protection scale_protection local_temperature_calibration Issue #2457
I copied the code from other device.
please check my code and tell me if you see a better way ?