Update docstrings (#7361)
* Update docstrings * Update docstrings * Update docstrings * Update docstrings * update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update tomato.py * Update isy994.py * Lint + fix tests * Lint
This commit is contained in:
1 parent
e22e70a01a
commit
3ee4d1060f
264 files changed
+1686
-1768
No files matched your search
@@ -22,7 +22,7 @@ LUTRON_DEVICES = 'lutron_devices'
|
||||
|
||||
|
||||
def setup(hass, base_config):
|
||||
"""Setup the Lutron component."""
|
||||
"""Set up the Lutron component."""
|
||||
from pylutron import Lutron
|
||||
|
||||
hass.data[LUTRON_CONTROLLER] = None
|
||||
@@ -66,7 +66,7 @@ class LutronDevice(Entity):
|
||||
)
|
||||
|
||||
def _update_callback(self, _device):
|
||||
"""Callback invoked by pylutron when the device state changes."""
|
||||
"""Run when invoked by pylutron when the device state changes."""
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user