Skip to content

Commit 54ca6eb

Browse files
mezz64fabaff
authored andcommitted
Eight Sleep docs (home-assistant#2499)
1 parent a77e9be commit 54ca6eb

File tree

4 files changed

+103
-0
lines changed

4 files changed

+103
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: "Eight Sleep Binary Sensor"
4+
description: "Instructions how to integrate binary motion sensors for Eight Sleep within Home Assistant."
5+
date: 2017-04-24 00:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: eight_sleep.png
11+
ha_category: Binary Sensor
12+
ha_release: "0.44"
13+
---
14+
15+
16+
The `eight_sleep` binary sensor platform lets you observe the presence state of a [Eight Sleep](https://eightsleep.com/) cover/mattress through Home Assistant.
17+
18+
Devices will be configured automatically. Please refer to the [component](/components/eight_sleep/) configuration on how to setup.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
layout: page
3+
title: "Eight Sleep"
4+
description: "Interface an Eight Sleep smart cover or mattress to Home Assistant"
5+
date: 2017-04-24 00:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: eight_sleep.png
11+
ha_category: Hub
12+
ha_release: "0.44"
13+
---
14+
15+
The `eight_sleep` component allows Home Assistant to fetch data from your [Eight Sleep](https://eightsleep.com/) smart cover or mattress.
16+
17+
It's setup utilizing 'Sensor' components to convey the current state of your bed and results of your sleep sessions and a 'Binary Sensor' component to indicate your presence in the bed. A service is also provided to set the heating level and duration of the bed.
18+
19+
To get started add the following information to your `configuration.yaml` file:
20+
21+
```yaml
22+
# Example configuration.yaml entry
23+
eight_sleep:
24+
username: "user@email.com"
25+
password: "password"
26+
```
27+
28+
Configuration variables:
29+
30+
- **username** (*Required*): The email address associated with your Eight Sleep account.
31+
- **password** (*Required*): The password associated with your Eight Sleep account.
32+
- **partner** (*Optional*): Default is False. Defines if you'd like to fetch data for both sides of the bed.
33+
34+
### {% linkable_title Supported features %}
35+
36+
Sensors:
37+
38+
- eight_left/right_bed_state
39+
- eight_left/right_sleep_session
40+
- eight_left/right_previous_sleep_session
41+
42+
Binary Sensors:
43+
44+
- eight_left/right_bed_presence
45+
46+
### {% linkable_title Service `heat_set` %}
47+
48+
You can use the service eight_sleep/heat_set to adjust the target heating level and heating duration of your bed.
49+
50+
| Service data attribute | Optional | Description |
51+
| ---------------------- | -------- | ----------- |
52+
| `entity_id` | no | Entity ID of bed state to adjust.
53+
| `target` | no | Target heating level from 0-100.
54+
| `duration` | no | Duration to heat at the target level in seconds.
55+
56+
Script Example:
57+
58+
```yaml
59+
script:
60+
bed_set_heat:
61+
sequence:
62+
- service: eight_sleep.heat_set
63+
data:
64+
entity_id: "sensor.eight_left_bed_state"
65+
target: 35
66+
duration: 3600
67+
```
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: "Eight Sleep Sensor"
4+
description: "Instructions how to integrate sensors for Eight Sleep within Home Assistant."
5+
date: 2017-04-24 00:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: eight_sleep.png
11+
ha_category: Sensor
12+
ha_release: "0.44"
13+
---
14+
15+
16+
The `eight_sleep` sensor platform lets you observe states of [Eight Sleep](https://eightsleep.com/) sensors through Home Assistant. This includes bed state and results of the current and previous sleep sessions.
17+
18+
Devices will be configured automatically. Please refer to the [component](/components/eight_sleep/) configuration on how to setup.
1.75 KB
Loading

0 commit comments

Comments
 (0)