-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Nap field always False when adding Sleep entries via API #657
Comments
Argh OK. Thanks for sharing. I can't repro at the moment in the demo so will appreciate if you can share more about your configuration. |
I still haven't looked properly at a PC, but it seems that when entering a sleep in the web ui the nap toggle is correctly pre-populated. However, when i enter a sleep from home assistant via the api it is always not-a-nap. |
Ok that’s helpful context. Will try to do some testing with that information. To be clear do you mean that the nap feature is not working for new naps? So existing naps in the system are still correct? |
Yeah it seems that all the historical data is fine. |
FTR I have at least confirmed this. The API always defaults to |
Thanks! Looks like it's working as intended for us 😄 |
I haven't had a chance to look at this yet, but I updated to beta2 today and now all the sleep entries are showing as not naps despite the site wide settings.
It was working well on beta1
The text was updated successfully, but these errors were encountered: