Files
home-assistant-core/homeassistant/components/climate/services.yaml
T
Mark Coombes f6995b8d17 Add config flow to ecobee (#26634)
* Add basic config flow

* Fix json files

* Update __init__.py

* Fix json errors

* Move constants to const.py

* Add ecobee to generated config flows

* Update config_flow for updated API

* Update manifest to include new dependencies

Bump pyecobee, add aiofiles.

* Update constants for ecobee

* Modify ecobee setup to use config flow

* Bump dependency

* Update binary_sensor to use config_entry

* Update sensor to use config_entry

* Update __init__.py

* Update weather to use config_entry

* Update notify.py

* Update ecobee constants

* Update climate to use config_entry

* Avoid a breaking change on ecobee services

* Store api key from old config entry

* Allow unloading of config entry

* Show user a form before import

* Refine import flow

* Update strings.json to remove import step

Not needed.

* Move third party imports to top of module

* Remove periods from end of log messages

* Make configuration.yaml config optional

* Remove unused strings

* Reorganize config flow

* Remove unneeded requirement

* No need to store API key

* Update async_unload_entry

* Clean up if/else statements

* Update requirements_all.txt

* Fix config schema

* Update __init__.py

* Remove check for DATA_ECOBEE_CONFIG

* Remove redundant check

* Add check for DATA_ECOBEE_CONFIG

* Change setup_platform to async

* Fix state unknown and imports

* Change init step to user

* Have import step raise specific exceptions

* Rearrange try/except block in import flow

* Convert update() and refresh() to coroutines

...and update platforms to use async_update coroutine.

* Finish converting init to async

* Preliminary tests

* Test full implementation

* Update test_config_flow.py

* Update test_config_flow.py

* Add self to codeowners

* Update test_config_flow.py

* Use MockConfigEntry

* Update test_config_flow.py

* Update CODEOWNERS

* pylint fixes

* Register services under ecobee domain

Breaking change!

* Pylint fixes

* Pylint fixes

* Pylint fixes

* Move service strings to ecobee domain

* Fix log message capitalization

* Fix import formatting

* Update .coveragerc

* Add __init__ to coveragerc

* Add option flow test

* Update .coveragerc

* Act on updated options

* Revert "Act on updated options"

This reverts commit 56b0a859f2e3e80b6f4c77a8f784a2b29ee2cce9.

* Remove hold_temp from climate

* Remove hold_temp and options from init

* Remove options handler from config flow

* Remove options strings

* Remove options flow test

* Remove hold_temp constants

* Fix climate tests

* Pass api key to user step in import flow

* Update test_config_flow.py

Ensure that the import step calls the user step with the user's api key as user input if importing from ecobee.conf/validating imported keys fails.
2019-09-25 22:38:21 +02:00

111 lines
2.9 KiB
YAML

# Describes the format for available climate services
set_aux_heat:
description: Turn auxiliary heater on/off for climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
aux_heat:
description: New value of axillary heater.
example: true
set_preset_mode:
description: Set preset mode for climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
preset_mode:
description: New value of preset mode
example: 'away'
set_temperature:
description: Set target temperature of climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
temperature:
description: New target temperature for HVAC.
example: 25
target_temp_high:
description: New target high tempereature for HVAC.
example: 26
target_temp_low:
description: New target low temperature for HVAC.
example: 20
hvac_mode:
description: HVAC operation mode to set temperature to.
example: 'heat'
set_humidity:
description: Set target humidity of climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
humidity:
description: New target humidity for climate device.
example: 60
set_fan_mode:
description: Set fan operation for climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.nest'
fan_mode:
description: New value of fan mode.
example: On Low
set_hvac_mode:
description: Set HVAC operation mode for climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.nest'
hvac_mode:
description: New value of operation mode.
example: heat
set_swing_mode:
description: Set swing operation for climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.nest'
swing_mode:
description: New value of swing mode.
mill_set_room_temperature:
description: Set Mill room temperatures.
fields:
room_name:
description: Name of room to change.
example: 'kitchen'
away_temp:
description: Away temp.
example: 12
comfort_temp:
description: Comfort temp.
example: 22
sleep_temp:
description: Sleep temp.
example: 17
nuheat_resume_program:
description: Resume the programmed schedule.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
turn_on:
description: Turn climate device on.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
turn_off:
description: Turn climate device off.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'