Traceback (most recent call last):
File "/home/reinan/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/home/reinan/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 476, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/reinan/homeassistant/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 240, in wrapper
result = method(*args, **kwargs)
File "/home/reinan/.homeassistant/custom_components/hass_opensprinkler/sensor.py", line 55, in update
self._p_status = self._station.p_status()
File "/home/reinan/.homeassistant/custom_components/hass_opensprinkler/__init__.py", line 225, in p_status
response = requests.get(url, timeout=10)
File "/home/reinan/homeassistant/lib/python3.7/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/home/reinan/homeassistant/lib/python3.7/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/reinan/homeassistant/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/home/reinan/homeassistant/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/reinan/homeassistant/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='opensprinkler.fritz.box', port=80): Read timed out. (read timeout=10)
Hi, I have the same error, installed the integration via HACS.
I do not seem to have a file called inputnumber.yaml. Where do I put the workaround?
Just create the file?
Anyone willing to help me please. I added my Opensprinkler and can see the stations but I get the "Failed to call service switch/turn_on. âNoneTypeâ object has no attribute âstateâ " - anyone that can share a snippet of their yaml files and which ones to update please?
I have two Opensprinklers. Is there a way to have both integrated using your component? I tried adding both IPâs to the configuration file, but that did not work.
No easy way at the moment, someone had some luck by making a copy of the folder and changing part of the code, ie have another folder called hass_opensprinkler2 and using hass_opensprinkler2: in the config for the second device.
Another option is to try the integration I am trying to get into HA, the config is different.
Another option is to integrate Remote Home Assistant and integrate the other OpenSprinkler into the second slave HA. See more here: Master HA instance with multiple slaves