1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant/components/eight_sleep/services.yaml
Raman Gupta dc48791864
Add config flow to eight_sleep (#71095)
* Add config flow to eight_sleep

* simplify tests

* Remove extra file

* remove unused import

* fix redundant code

* Update homeassistant/components/eight_sleep/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* incorporate feedback

* Review comments

* remove typing from tests

* Fix based on changes

* Fix requirements

* Remove stale comment

* Fix tests

* Reverse the flow and force the config entry to reconnect

* Review comments

* Abort if import flow fails

* Split import and user logic

* Fix error

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-11 02:16:46 -04:00

27 lines
632 B
YAML

heat_set:
name: Heat set
description: Set heating/cooling level for eight sleep.
target:
entity:
integration: eight_sleep
domain: sensor
fields:
duration:
name: Duration
description: Duration to heat/cool at the target level in seconds.
required: true
selector:
number:
min: 0
max: 28800
unit_of_measurement: seconds
target:
name: Target
description: Target cooling/heating level from -100 to 100.
required: true
selector:
number:
min: -100
max: 100
unit_of_measurement: "°"