mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
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:
committed by
Paulus Schoutsen
parent
0e08925259
commit
a4f1f6e724
@@ -79,8 +79,8 @@ class LyftSensor(Entity):
|
||||
self._product_id = product_id
|
||||
self._product = product
|
||||
self._sensortype = sensorType
|
||||
self._name = '{} {}'.format(self._product['display_name'],
|
||||
self._sensortype)
|
||||
self._name = '{} {}'.format(
|
||||
self._product['display_name'], self._sensortype)
|
||||
if 'lyft' not in self._name.lower():
|
||||
self._name = 'Lyft{}'.format(self._name)
|
||||
if self._sensortype == 'time':
|
||||
|
||||
Reference in New Issue
Block a user