|  Developer
Updated on November 23, 2021

request_attribute_value()

  • Ask the Zigbee addon to send a *_updated event for a specified pcp, that is get a pcp value asynchronously, by event. (pcp is specified by node_id, endpoint_id, cluster_name and attribute_name).
Edit

  • params: node_id (int), endpoint_id (int), cluster_name (string), attribute_name (string).
  • return: none.
Edit
				
					require "zigbee"

zigbee.request_attribute_value( node_id, endpoint_id, cluster_name, attribute_name )