Update docstrings (#7374)

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstring

* Update docstrings

* Update docstrings

* Fix lint issues

* Update docstrings

* Revert changes in dict
This commit is contained in:
Fabian Affolter
2017-05-02 18:18:47 +02:00
committed by Paulus Schoutsen
parent 0e08925259
commit a4f1f6e724
340 changed files with 1533 additions and 1708 deletions

View File

@@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__)
def get_device(node, values, **kwargs):
"""Create zwave entity device."""
"""Create Z-Wave entity device."""
# Generic Device mappings
if node.has_command_class(zwave.const.COMMAND_CLASS_SENSOR_MULTILEVEL):
return ZWaveMultilevelSensor(values)
@@ -38,7 +38,7 @@ class ZWaveSensor(zwave.ZWaveDeviceEntity):
self.update_properties()
def update_properties(self):
"""Callback on data changes for node values."""
"""Handle the data changes for node values."""
self._state = self.values.primary.data
self._units = self.values.primary.units