Release 7.2.0- Heating is inverted on over_switch with inverted commands ? (#891)

* Release 7.2.0- Heating is inverted on `over_switch` with inverted commands ?
Fixes #889

* Release

---------

Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
Jean-Marc Collin
2025-02-08 11:56:24 +01:00
committed by GitHub
parent 87064882a3
commit c20e641ac1
5 changed files with 48 additions and 18 deletions

View File

@@ -71,6 +71,19 @@ from .commons import *
HVACMode.HEAT,
True,
),
# Inversed switch without command personnalisations
(
True,
None,
None,
"turn_off",
{"entity_id": "switch.test"},
STATE_OFF,
"turn_on",
{"entity_id": "switch.test"},
STATE_ON,
True,
),
# Error cases invalid command
(
False,