home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.31k stars 30.62k forks source link

hotwater boost fails #50266

Closed jasonwragg closed 3 years ago

jasonwragg commented 3 years ago

The problem

When running Hive: Boost Hotwater service the follow error occurs

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'WaterHeater' object has no attribute 'turnBoostOn' Traceback (most recent call last): File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/script.py", line 363, in _async_step await getattr(self, handler)() File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/script.py", line 563, in _async_call_service_step await service_task File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/core.py", line 1481, in async_call task.result() File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/core.py", line 1516, in _execute_service await handler.job.target(service_call) File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 630, in handle_service await service.entity_service_call( File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/service.py", line 658, in entity_service_call future.result() # pop exception if have File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 726, in async_request_call await coro File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/service.py", line 695, in _handle_entity_call await result File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/hive/__init__.py", line 106, in wrapper await func(self, *args, **kwargs) File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/hive/water_heater.py", line 142, in async_hot_water_boost await self.hive.hotwater.turnBoostOn(self.device, time_period) AttributeError: 'WaterHeater' object has no attribute 'turnBoostOn'

What is version of Home Assistant Core has the issue?

core-2021.5.0

What was the last working version of Home Assistant Core?

core-2021.4.6

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Hive

Link to integration documentation on our website

https://www.home-assistant.io/integrations/hive/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

see above

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

hive documentation hive source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @rendili, @kjonline, mind taking a look at this issue as its been labeled with an integration (hive) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

davet2001 commented 3 years ago

@KJonline I see the same issue. On/off works fine but hot water boost does not.

Hot water boost is one of the most useful hive automations to me.

KJonline commented 3 years ago

This will be fixed in the upcoming June release next week

github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.