Open rob1037 opened 1 month ago
Can you please verify: https://github.com/mk-maddin/wattpilot-HA/commit/a11c368cc19c14ba42b2707926fe5e10bffd4fe5 ?
Can you please verify: a11c368 ?
Hello,
Unfortunately, I don't know how to test this directly from Gitbub. However, I was able to see which file is the right one and where it’s stored because of your changes. I switched the number "0" manually to "-9999". After restarting HA, entering a negative amount worked. The amount is then immediately visible in the Wattpilot app (iOS).
Thank you very much!
Describe the issue you are experiencing The entity “number.wattpilot_max_price” cannot be set to a negative value. In the Solar.wattpilot app (iOS), however, it is possible to enter a negative value for “Eco Mode price limit” (e.g. -2).
Describe the expected behavior It should also be possible to enter negative prices.
To Reproduce Steps to reproduce the behavior: Try to set a negative price (number.wattpilot_max_price)
What version of Home Assistant Core is installed 2024.9.2
Screenshots
Additional Information I use this, for example, to ensure that only the surplus from the PV system is used. If you charge using a flexible tariff, you should check the prices anyway and reassign the field accordingly.
Thanks for your work and the integration so far!