The group is used in associations.
platform: | Unix, Windows, MacOS X |
---|---|
sinopsis: | openzwave API |
License : GPL(v3)
python-openzwave is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
python-openzwave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with python-openzwave. If not, see http://www.gnu.org/licenses.
The driver object. Hold options of the manager Also used to retrieve information about the library, ...
Adds a node to an association group.
Due to the possibility of a device being asleep, the command is assumed to complete with success, and the association data held in this class is updated directly. This will be reverted by a future Association message from the device if the Z-Wave message actually failed to get through. Notification callbacks will be sent in both cases.
Parameters: |
|
---|
The members of associations.
Return type: | set() |
---|
The members of associations with theirs instances. Nodes that does not support multi-instances have an instanceid equal to 0.
Return type: | set() of tuples (nodeid,instanceid) |
---|
The index of the group.
Return type: | int |
---|
The label of the group.
Return type: | int |
---|
The number of associations.
Return type: | int |
---|
Removes a node from an association group.
Due to the possibility of a device being asleep, the command is assumed to succeed, and the association data held in this class is updated directly. This will be reverted by a future Association message from the device if the Z-Wave message actually failed to get through. Notification callbacks will be sent in both cases.
Parameters: |
|
---|
Return a dict representation of the group.
Parameters: | extras ([]) – The extra inforamtions to add |
---|---|
Returns: | A dict |
Return type: | dict() |