mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 06:50:12 +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
@@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Setup the Demo sensors."""
|
||||
"""Set up the Demo sensors."""
|
||||
add_devices([
|
||||
DemoSensor('Outside Temperature', 15.6, TEMP_CELSIUS, 12),
|
||||
DemoSensor('Outside Humidity', 54, '%', None),
|
||||
|
||||
Reference in New Issue
Block a user