I’m getting errors when I turn Away Mode On & Off, I does actually work but I wondered if anyone could help with why Im getting the errors?
Log Details (ERROR)
Tue Jan 14 2020 22:37:26 GMT+0000 (Greenwich Mean Time)
Error setting Home/Away , error {"Type":"None","SetPoint":0}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 205, in handle_service
self._platforms.values(), func, call, service_name, required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 336, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 358, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/wiser/switch.py", line 69, in turn_off
self.handler.set_away_mode(False, self.awayTemperature)
File "/config/custom_components/wiser/__init__.py", line 163, in set_away_mode
self.wiserHubInstance.setHomeAwayMode(mode, away_temperature)
File "/usr/local/lib/python3.7/site-packages/wiserHeatingAPI/wiserHub.py", line 169, in setHomeAwayMode
raise Exception("Error setting Home/Away , error {} ".format(self.response.text))
Exception: Error setting Home/Away , error {"Type":"None","SetPoint":0}
Log Details (ERROR)
Tue Jan 14 2020 22:36:54 GMT+0000 (Greenwich Mean Time)
Error setting Home/Away , error {"Type":"Away","SetPoint":160}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 205, in handle_service
self._platforms.values(), func, call, service_name, required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 336, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 358, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/wiser/switch.py", line 64, in turn_on
self.handler.set_away_mode(True, self.awayTemperature)
File "/config/custom_components/wiser/__init__.py", line 163, in set_away_mode
self.wiserHubInstance.setHomeAwayMode(mode, away_temperature)
File "/usr/local/lib/python3.7/site-packages/wiserHeatingAPI/wiserHub.py", line 169, in setHomeAwayMode
raise Exception("Error setting Home/Away , error {} ".format(self.response.text))
Exception: Error setting Home/Away , error {"Type":"Away","SetPoint":160}