mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix typo (#3744)
This commit is contained in:
parent
8b059e9aad
commit
5e16dc6307
@ -37,7 +37,7 @@ CONFIG_SCHEMA = vol.Schema({
|
|||||||
|
|
||||||
|
|
||||||
def setup(hass, config):
|
def setup(hass, config):
|
||||||
"""Setup the Netatmo devices."""
|
"""Set up the Netatmo devices."""
|
||||||
import lnetatmo
|
import lnetatmo
|
||||||
|
|
||||||
global NETATMO_AUTH
|
global NETATMO_AUTH
|
||||||
@ -47,7 +47,7 @@ def setup(hass, config):
|
|||||||
config[DOMAIN][CONF_USERNAME], config[DOMAIN][CONF_PASSWORD],
|
config[DOMAIN][CONF_USERNAME], config[DOMAIN][CONF_PASSWORD],
|
||||||
'read_station read_camera access_camera')
|
'read_station read_camera access_camera')
|
||||||
except HTTPError:
|
except HTTPError:
|
||||||
_LOGGER.error("Unable to connect to NatAtmo API")
|
_LOGGER.error("Unable to connect to Netatmo API")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
for component in 'camera', 'sensor':
|
for component in 'camera', 'sensor':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user