You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file src-api/openzwave/command.py, the class ZWaveNodeBasic(ZWaveNodeInterface), has this stanza at the beginning of a method:
"""
def get_power_level(self, value_id=None):
"""
The power level of this node.
The command 0x73 (COMMAND_CLASS_POWERLEVEL) of this node.
:param value_id: The value to retrieve state. If None, retrieve the first value
:type value_id: int
:return: The level of this battery
:rtype: int
"""
"""
Surely this command is to do with radio signal power and nothing to do with battery? If so, then the comment is misleading.
Activity
kdschlosser commentedon Sep 12, 2019
It is a mistake in the docstring. we are in the process of updating the library and this will be corrected. TY for pointing it out to us.