I’m trying to configure the Lutron Caseta component. It looks so straightforward… I see the following in homeassistant.log
when HA starts:
17-04-18 23:11:30 ERROR (MainThread) [homeassistant.setup] Error during setup of component lutron_caseta
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 192, in _async_setup_component
None, component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/lutron_caseta.py", line 46, in setup
password=config[CONF_PASSWORD]
File "/etc/homeassistant/deps/pylutron_caseta/smartbridge.py", line 36, in __init__
self._login()
File "/etc/homeassistant/deps/pylutron_caseta/smartbridge.py", line 130, in _login
self._telnet = telnetlib.Telnet(self._hostname, 23, timeout=2)
File "/usr/lib/python3.5/telnetlib.py", line 218, in __init__
self.open(host, port, timeout)
File "/usr/lib/python3.5/telnetlib.py", line 234, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python3.5/socket.py", line 711, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 702, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The frontend shows:
Invalid Config
The following components and platforms could not be set up:
• lutron-caseta
Please check your config
My configuration.yaml files has the following in it:
lutron_caseta:
host: 192.168.2.121
username: lutron
password: integration
Anyone know how to sort this out?