osohotwateriot / osoenergy_community

This is an OSO Energy integration for the Home Assistant Community Store
MIT License
3 stars 0 forks source link

Has function to temporarily turn on/off heater for 1 hour been removed? #3

Open oleost opened 3 days ago

oleost commented 3 days ago

Hi.

Im pretty certain that when I first set up my control over the heater there was a function to temporarily turn on and off the heater for 1 hour when it was controlled by OSO in smart mode.

However this seems not to work anymore.

Is there any way to get this back?

Reason for needing it is because I use oso auto function, but if there is risk of creating a new peak in energy consumption I send command to have it off for 1 hour.

Tried both Hacs version and official one.

image

osohotwateriot commented 1 day ago

Hello,

The functionality for turn_on/turn_off has not been removed. It appears that the build-in actions of Home Assistant for water heaters do not work anymore when you specify a target entity. I have tested it and it seems that the actions still work if you specify target device instead.

You can change your logic to work with device instead for water_heater.turn_off or use the custom actions provided by the integration osoenergy_community.turn_off until this issue is resolved.