Giter Club home page Giter Club logo

Comments (6)

asantaga avatar asantaga commented on June 1, 2024

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.

asantaga avatar asantaga commented on June 1, 2024

No idea why this would freeze up HA thought......

from wiserhomeassistantplatform.

duncanbarnes avatar duncanbarnes commented on June 1, 2024

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.

Langybangy avatar Langybangy commented on June 1, 2024

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.

asantaga avatar asantaga commented on June 1, 2024

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.

asantaga avatar asantaga commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.