lukas-clarke / eight_sleep

Home Assistant Eight Sleep integration that works with Eight Sleep's new API and OAUTH2
MIT License
106 stars 19 forks source link

Request: Ability to read side assignments #41

Closed jordancoleman closed 1 month ago

jordancoleman commented 2 months ago

When my partner is away, I like to sleep across the whole bed, so I reassign my bed "side" to "both". When she returns, I assign her to one side and myself to the other. This works great with a Home Assistant automation calling "Set Bed Side", but there doesn't seem to be a way read back the side assignments to display in a dashboard. Could it be possible to access the side assignment for each user as a sensor?

lukas-clarke commented 2 months ago

Yes, I believe this data is in the API. I will try to take a look later this week

lukas-clarke commented 1 month ago

@jordancoleman, heads up that I have this working in a local branch and am hoping to cut a release in the next couple days