mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-26 06:17:35 +00:00
3.0 KiB
3.0 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_codeowners | ha_domain | ha_platforms | ha_integration_type | ha_config_flow | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Eight Sleep | Interface an Eight Sleep smart cover or mattress to Home Assistant |
|
0.44 | Cloud Polling |
|
eight_sleep |
|
integration | true |
The eight_sleep
integration allows Home Assistant to fetch data from your Eight Sleep smart cover or mattress.
There is currently support for the following device types within Home Assistant:
- Binary Sensor - lets observe the presence state of a Eight Sleep cover/mattress through Home Assistant.
- Sensor - This includes bed state, sleep fitness scores, and results of the current and previous sleep sessions.
{% include integrations/config_flow.md %}
Supported features
Sensors and associated attributes:
- eight_left/right_bed_state
- Attributes:
- Target Heating Level
- Heating Active
- Heating Time Remaining
- Attributes:
- eight left/right_sleep_fitness
- Attributes:
- Fitness Date
- Fitness Duration Score
- Fitness Asleep Score
- Fitness Out-of-Bed Score
- Fitness Wakeup Score
- Attributes:
- eight_left/right_sleep_session
- Attributes:
- Session Start
- Tosses & Turns
- Processing (True/False)
- Time Slept (s)
- Light Sleep %
- Deep Sleep %
- REM Sleep %
- Respiratory Rate
- Heart Rate
- Sleep Stage
- Room Temperature
- Bed Temperature
- Attributes:
- eight_left/right_previous_sleep_session
- Attributes:
- Session Start
- Tosses & Turns
- Processing (True/False)
- Time Slept (s)
- Light Sleep %
- Deep Sleep %
- REM Sleep %
- Average Respiratory Rate
- Average Heart Rate
- Average Room Temperature
- Average Bed Temperature
- Attributes:
- eight_left/right_bed_temperature
- eight_left/right_sleep_stage
- eight_room_temperature
Binary Sensors:
- eight_left/right_bed_presence
Service heat_set
You can use the service eight_sleep/heat_set to adjust the target cooling/heating level and heating duration of your bed (cooling is only available for the POD mattress).
Service data attribute | Optional | Description |
---|---|---|
entity_id |
no | Entity ID for a sensor on the side to be adjusted. |
target |
no | Target cooling/heating level from -100 to 100. |
duration |
no | Duration to cool/heat at the target level in seconds. |
Script Example:
script:
bed_set_heat:
sequence:
- service: eight_sleep.heat_set
target:
entity_id: "sensor.eight_johns_bed_temperature"
data:
target: 35
duration: 3600
Notice
Please note this component relies on an undocumented API utilized by the Eight Sleep mobile app to communicate with the Eight Sleep servers. It is not supported by Eight Sleep and may malfunction if changes are made to either the mobile app operation or the API format.