request_alarm_sensor_value()
- Requests current state
Edit
- params:
-
- node_id (int),
- channel_id (int),
- sensor_name (string) — see alarm sensor types
- return: none.
Edit
require "zwave"
zwave.request_alarm_sensor_value(node_id, channel_id, "smoke_alarm")