Comments (6)
Hey joe
Thanks for the comments. Ah yes I agree and see the error, to be honest I thought I’d nabbed them all but this one through. I’ll mirror the changes in master tomorrow and at the same time go hunting for more changes.....
from wiserhomeassistantplatform.
No idea why this would freeze up HA thought......
from wiserhomeassistantplatform.
Echo comments by Joe, also love this component! :-)
This is the complete error that Joe mentioned when setting away mode, but looks like he has identified the bug:
Log Details (ERROR) Thu Dec 26 2019 17:20:16 GMT+0000 (Greenwich Mean Time) Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 190, in async_run await self._handle_action(action, variables, context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 273, in _handle_action await self._actions[_determine_action(action)](action, variables, context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 355, in _async_call_service context=context, File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 97, in async_call_from_config domain, service_name, service_data, blocking=blocking, context=context 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 167, in set_away_mode self.wiserHubInstance.setHomeAwayMode(mode, away_temperature) File "/usr/local/lib/python3.7/site-packages/wiserHeatingAPI/wiserHub.py", line 237, in setHomeAwayMode raise Exception("setAwayHome temperature can only be between 5 and 30 or -20(Off)") Exception: setAwayHome temperature can only be between 5 and 30 or -20(Off)
In my experience at the moment it doesn't freeze HA, but it does stop any further actions in the same chain. So if used for an automation it has to be the last action otherwise anything after it wouldn't be executed because of the exception.
from wiserhomeassistantplatform.
Just to clarify - the whole of HA doesn’t freeze, just this wiser integration / components, until HA is restarted. So for example, the temperatures won’t update anymore for rooms, etc, they just freeze at their current values.
from wiserhomeassistantplatform.
guys, sorry was ill with child donated lurgy .. bug fixed (thanks Joe) and Ive tested it on my home installation..
Im just checking some other things before making a new release
from wiserhomeassistantplatform.
Looks good, I pressed every button, looked at every dial.. seams to be ok
made release 1.7.1 so you HACS allows an upgrade
from wiserhomeassistantplatform.
Related Issues (20)
- One of the two heating channels is unavailable on a 3 channel hub after updating to 3.4.4 HOT 7
- The "Advance Schedule” Preset Mode option is not available under Passive Mode. HOT 1
- number of problems with a heatingactuator HOT 24
- 'wiser' accesses hass.components.websocket_api. Deprecated. HOT 2
- Not an issue: Smoke detector works except smoke sensor HOT 3
- future change request: Wiser "MEG5161-0000" with "MEG5113-0300"Relais button switch "does not report a color mode" HOT 2
- Display of floor temp sensor in more info
- Question: Can Home Assistant talk to Wiser TRVs without a controller? HOT 1
- Naming sensor.wiser_heathub
- Smart Plugs - ghost entries after name change HOT 2
- Deprecated call `async_add_job` HOT 1
- HEADS UP - Manage Temps Recipe V2 Potentially Causing HA 2024.4 Crashes HOT 2
- Heads up: depreciation warning in Logs HOT 1
- Unable to set Hot Water on or off in automation HOT 1
- [Question] Should "Default Heating Boost Temperature" config option be used in presets? HOT 3
- Connection error HOT 4
- Slow updating of sensor HOT 2
- Allow un-assigning schedule from wiser.assign_schedule service HOT 1
- Consumption of my energy sensors randomly goes to 0 and initiate a new cycle for my energy dashboard by mistake HOT 5
- deprecation warning: integration 'wiser' calls `async_add_job` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiserhomeassistantplatform.