lukas-clarke / eight_sleep

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

Assign users even when they are away #45

Closed akaplan07 closed 2 months ago

akaplan07 commented 2 months ago
* Previously, only active users could be assigned
* However, the API includes an awaySides key if at least one of the
  users is away. We can get the ids for away users from there
* Now, we can directly ask the API which side it thinks the user is on,
  and it can return 'away'

Warning:
This change adds two additional API calls

Fixes lukas-clarke/eight_sleep#34