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:
parent
0e08925259
commit
a4f1f6e724
340 changed files with 1533 additions and 1708 deletions
|
@ -35,7 +35,7 @@ def get_temper_devices():
|
|||
|
||||
# pylint: disable=unused-argument
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Setup the Temper sensors."""
|
||||
"""Setu p the Temper sensors."""
|
||||
temp_unit = hass.config.units.temperature_unit
|
||||
name = config.get(CONF_NAME)
|
||||
scaling = {
|
||||
|
@ -107,6 +107,6 @@ class TemperSensor(Entity):
|
|||
sensor_value = self.temper_device.get_temperature(format_str)
|
||||
self.current_value = round(sensor_value, 1)
|
||||
except IOError:
|
||||
_LOGGER.error('Failed to get temperature. The device address may'
|
||||
'have changed - attempting to reset device')
|
||||
_LOGGER.error("Failed to get temperature. The device address may"
|
||||
"have changed. Attempting to reset device")
|
||||
reset_devices()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue