Add melcloud AtaDevice vane control (#32672)

* Add melcloud AtaDevice vane control

* Return empty dict when no vane states available

Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>

* Use constants for services and conf

* Split state attribute assignment and fix suggested changes

* Log valid positions when called with an invalid position

* Improve service description

Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
This commit is contained in:
Vilppu Vuorinenandspringstan authored and GitHub committed 2020-04-02 21:56:41 +02:00
1 parent 4caf65dc97
commit 4b2c45e668
3 files changed
+98 -1

No files matched your search

@@ -0,0 +1,23 @@
set_vane_horizontal:
description: Sets horizontal vane position.
fields:
entity_id:
description: Name of the target entity
example: "climate.ac_1"
position:
description: >
Horizontal vane position. Possible options can be found in the
vane_horizontal_positions state attribute.
example: "auto"
set_vane_vertical:
description: Sets vertical vane position.
fields:
entity_id:
description: Name of the target entity
example: "climate.ac_1"
position:
description: >
Vertical vane position. Possible options can be found in the
vane_vertical_positions state attribute.
example: "auto"