Issue 338 limit regulation over valve to avoid drowning battery of the TRV (#356)

* With testus ok

* Clean TPI algo

* Commenet failed testu

* Documentation

---------

Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
Jean-Marc Collin
2024-01-21 19:36:44 +01:00
committed by GitHub
parent 26844593b1
commit 8cbd81012c
11 changed files with 335 additions and 42 deletions

View File

@@ -765,7 +765,7 @@ class UnderlyingValve(UnderlyingEntity):
await self.send_percent_open()
async def turn_on(self):
"""Nothing to do for Valve because it cannot be turned off"""
"""Nothing to do for Valve because it cannot be turned on"""
self.set_valve_open_percent()
async def set_hvac_mode(self, hvac_mode: HVACMode) -> bool: