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 and results of the current and previous sleep sessions.
It’s setup utilizing ‘Sensor’ platform to convey the current state of your bed and results of your sleep sessions and a ‘Binary Sensor’ platform to indicate your presence in the bed. A service is also provided to set the heating level and duration of the bed.
You must have at least two sleep sessions recorded in the Eight Sleep app prior to setting up the Home Assistant component.
To get started add the following information to your
# Example configuration.yaml entry eight_sleep: username: YOUR_E_MAIL_ADDRESS password: YOUR_PASSWORD
You can use the service eight_sleep/heat_set to adjust the target heating level and heating duration of your bed.
|Service data attribute||Optional||Description|
||no||Entity ID of bed state to adjust.|
||no||Target heating level from 0-100.|
||no||Duration to heat at the target level in seconds.|
script: bed_set_heat: sequence: - service: eight_sleep.heat_set data: entity_id: "sensor.eight_left_bed_state" target: 35 duration: 3600