-
Notifications
You must be signed in to change notification settings - Fork 179
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
ATTRIBUTE_FLAG_NONVOLATILE not really working. (CON-1219) #980
Comments
@ronny-antoon |
So you think if i change the 'TargetPositionLiftPercent100ths' to non volatile it should work in apple homekit? |
Yes, but |
Okay, so what i can do to work around my problem. Or i can add after all the initialization Change the attribute value of TargetPositionLiftPercent100ths to the attribute value of CurrentPositionLiftPercentage ? |
You can definitely do that. |
Thanks |
Describe the bug
Iam trying to make the Window Device [Endpoint] store the current percentage in NVS,
My goal: After rebooting the device the current percentage should be as last known value if exist or 0.
by default the esp_matter window endpoint is adding this flag esp_matter::attribute_flags::ATTRIBUTE_FLAG_NONVOLATILE. so it should work as it is. Look at this Attribute creation.
when rebooting the esp32 this attributes goes 0 and not last known value from NVS.
What is the walk around to achieve this goal.?
Environment
The text was updated successfully, but these errors were encountered: