1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

ZWave: Add reset service to meters (#7676)

* Add reset service for command_class meters.

* Add reset service for command_class meters.

* cast index to const.py
This commit is contained in:
John Arild Berentsen
2017-05-21 20:15:24 +02:00
committed by GitHub
parent 171086229a
commit 4a0d6e73f4
4 changed files with 84 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ SERVICE_START_NETWORK = "start_network"
SERVICE_RENAME_NODE = "rename_node"
SERVICE_REFRESH_ENTITY = "refresh_entity"
SERVICE_REFRESH_NODE = "refresh_node"
SERVICE_RESET_NODE_METERS = "reset_node_meters"
EVENT_SCENE_ACTIVATED = "zwave.scene_activated"
EVENT_NODE_EVENT = "zwave.node_event"
@@ -329,3 +330,5 @@ DISC_SPECIFIC_DEVICE_CLASS = "specific_device_class"
DISC_TYPE = "type"
DISC_VALUES = "values"
DISC_WRITEONLY = "writeonly"
METER_RESET_INDEX = 33