Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
@@ -622,6 +622,8 @@ class UnderlyingClimate(UnderlyingEntity):
|
|||||||
ATTR_ENTITY_ID: self._entity_id,
|
ATTR_ENTITY_ID: self._entity_id,
|
||||||
"target_temp_high": target_temp,
|
"target_temp_high": target_temp,
|
||||||
"target_temp_low": target_temp,
|
"target_temp_low": target_temp,
|
||||||
|
# issue 518 - we should send also the target temperature, even in TARGET RANGE
|
||||||
|
"temperature": target_temp,
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
data = {
|
data = {
|
||||||
|
|||||||
@@ -1001,6 +1001,7 @@ async def test_bug_508(
|
|||||||
# "temperature": 17.5,
|
# "temperature": 17.5,
|
||||||
"target_temp_high": 10,
|
"target_temp_high": 10,
|
||||||
"target_temp_low": 10,
|
"target_temp_low": 10,
|
||||||
|
"temperature": 10,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
@@ -1021,6 +1022,7 @@ async def test_bug_508(
|
|||||||
"entity_id": "climate.mock_climate",
|
"entity_id": "climate.mock_climate",
|
||||||
"target_temp_high": 31,
|
"target_temp_high": 31,
|
||||||
"target_temp_low": 31,
|
"target_temp_low": 31,
|
||||||
|
"temperature": 31,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user