ZWave: Add association service (#3894)

* Add association service

* Refactor service

* Requested changes

* Grammar in pydocstyle
This commit is contained in:
John Arild Berentsen 2016-10-16 20:36:06 +02:00 committed by GitHub
parent 2612c6d6b8
commit 8b2edc1514
3 changed files with 52 additions and 0 deletions

View file

@ -1,6 +1,10 @@
"""Z-Wave Constants."""
ATTR_NODE_ID = "node_id"
ATTR_TARGET_NODE_ID = "target_node_id"
ATTR_ASSOCIATION = "association"
ATTR_INSTANCE = "instance"
ATTR_GROUP = "group"
ATTR_VALUE_ID = "value_id"
ATTR_OBJECT_ID = "object_id"
ATTR_NAME = "name"
@ -11,6 +15,7 @@ ATTR_CONFIG_SIZE = "size"
ATTR_CONFIG_VALUE = "value"
NETWORK_READY_WAIT_SECS = 30
SERVICE_CHANGE_ASSOCIATION = "change_association"
SERVICE_ADD_NODE = "add_node"
SERVICE_ADD_NODE_SECURE = "add_node_secure"
SERVICE_REMOVE_NODE = "remove_node"