Skip to content
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

Use it as a climate entity #38

Open
v3rm0n opened this issue Aug 2, 2024 · 3 comments
Open

Use it as a climate entity #38

v3rm0n opened this issue Aug 2, 2024 · 3 comments

Comments

@v3rm0n
Copy link

v3rm0n commented Aug 2, 2024

Would it be possible to configure a side as a climate entity? Then it would be possible to define a nice looking thermostat for it in the UI

@lukas-clarke
Copy link
Owner

I'm not sure a climate entity is the best match for this. As you can see from the docs (https://developers.home-assistant.io/docs/core/entity/climate/) there is only one attribute from the climate entity that applies to the 8 pod. I think a better approach would be to create a device for the eight sleep, which is on the TODO section of this repo. I'll try and bump this up on my personal TODO list, now that I know there is demand for it.

@v3rm0n
Copy link
Author

v3rm0n commented Aug 21, 2024

Thanks!

With the end goal of having a thermostat, I'm just wondering if creating a device would help here?

I don't know much about HA internals, but to define a generic thermostat you need a sensor and a switch so that HA would toggle the switch according to the sensor value, which would not work with Eight Sleep.

The other way to define a thermostat is to implement a climate entity.

I'm thinking that it should probably work similarly to a wifi thermostat where you set the temperature and the climate device will take care of actually achieving it while also reporting the actual temperature, like this https://github.com/home-assistant/core/blob/dev/homeassistant/components/radiotherm/climate.py

@AJolly
Copy link

AJolly commented Sep 27, 2024

@v3rm0n check this out if you want it as a climate entity https://github.com/amosyuen/ha-eight-sleep-climate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants