Update docstrings (#7405)

* Update docstrings

* Fix lint issues

* Update docstrings
This commit is contained in:
Fabian Affolter authored and GitHub committed 2017-05-02 22:47:20 +02:00
1 parent 12c8266942
commit 4d52b0ecd5
81 files changed
+375 -409

No files matched your search

@@ -96,7 +96,7 @@ class ZWaveNodeEntity(ZWaveBaseEntity):
self.network_node_changed, ZWaveNetwork.SIGNAL_NOTIFICATION)
def network_node_changed(self, node=None, args=None):
"""Called when node has changed on the network."""
"""Handle a changed node on the network."""
if node and node.node_id != self.node_id:
return
if args is not None and 'nodeId' in args and \
@@ -106,8 +106,8 @@ class ZWaveNodeEntity(ZWaveBaseEntity):
def get_node_statistics(self):
"""Retrieve statistics from the node."""
return self._network.manager.getNodeStatistics(self._network.home_id,
self.node_id)
return self._network.manager.getNodeStatistics(
self._network.home_id, self.node_id)
def node_changed(self):
"""Update node properties."""