Hassio
Ok, just realized I missed the detail about “d below the s” and it wasn’t the case… Fixed and rebooting… Finicky as Python! lol
Same invalid config message… Also received a message from these forums that I’ve reached the max number of replies for a new user (22)… So, I may just have to edit this one if we keep going…
I don’t use hassio, so this might not be accurate, but from the quickest of searches the correct way to reboot should hopefully be…
Hassio > System > Reboot
Ok. Thank you.
Newest log loading…
Maybe you could upload the fixed automations file somewhere and I can use your version? It’s possible I’m doing something wrong with the indents, spaces, etc.
2018-10-25 20:54:48 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=68 from 2018-10-26 03:51:05.795216)
2018-10-25 20:54:49 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [service] is an invalid option for [automation]. Check: automation->service. (See /config/configuration.yaml, line 172). Please check the docs at https://home-assistant.io/components/automation/
2018-10-25 20:55:01 WARNING (SyncWorker_14) [netdisco.ssdp] Error fetching description at http://192.168.1.6:8200/rootDesc.xml
2018-10-25 20:55:07 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-10-25 20:55:11 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform plex
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 171, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 79, in create_connection
raise err
File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 69, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 354, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/local/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 196, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 180, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x706adf90>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.99', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x706adf90>: Failed to establish a new connection: [Errno 113] Host is unreachable',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/plex.py", line 94, in setup_platform
hass, config, add_entities_callback
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/plex.py", line 113, in setup_plexserver
token, cert_session
File "/usr/local/lib/python3.6/site-packages/plexapi/server.py", line 102, in __init__
data = self.query(self.key, timeout=timeout)
File "/usr/local/lib/python3.6/site-packages/plexapi/server.py", line 341, in query
response = method(url, headers=headers, timeout=timeout, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 525, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 513, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.99', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x706adf90>: Failed to establish a new connection: [Errno 113] Host is unreachable',))
Update! Success! I tried editing the file in standard notepad and fixed a couple of (seemingly) small things, rebooted and it’s now working!
Earlier you said
If I knew what the entity_id was, I would use that entity being ‘on’ as a condition for the Swap-led-effects one, which I suspect is how you want it to behave.
I’m not sure I’m following this…
Ah, yes, I get it. That’s easy enough to set up. Ok, I won’t take any more of your time. Thank you VERY much for all of your patience and help. I’ve learned a lot here.