Vicare water_heater set_temperature fix and bump PyVicare to 0.1.7 (#31672)
* Fix ViCare water_heater set_temperature This fixes a obvious but undiscovered bug in the water heater component: Instead of the commanded value the prvious value was set on the API * Bump PyVicare to 0.1.7pull/31771/head
parent
5a7e0b84ff
commit
7e0560c7dc
homeassistant/components/vicare
|
@ -4,5 +4,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/vicare",
|
||||
"dependencies": [],
|
||||
"codeowners": ["@oischinger"],
|
||||
"requirements": ["PyViCare==0.1.2"]
|
||||
"requirements": ["PyViCare==0.1.7"]
|
||||
}
|
||||
|
|
|
@ -122,7 +122,8 @@ class ViCareWater(WaterHeaterDevice):
|
|||
"""Set new target temperatures."""
|
||||
temp = kwargs.get(ATTR_TEMPERATURE)
|
||||
if temp is not None:
|
||||
self._api.setDomesticHotWaterTemperature(self._target_temperature)
|
||||
self._api.setDomesticHotWaterTemperature(temp)
|
||||
self._target_temperature = temp
|
||||
|
||||
@property
|
||||
def min_temp(self):
|
||||
|
|
|
@ -77,7 +77,7 @@ PySocks==1.7.1
|
|||
PyTransportNSW==0.1.1
|
||||
|
||||
# homeassistant.components.vicare
|
||||
PyViCare==0.1.2
|
||||
PyViCare==0.1.7
|
||||
|
||||
# homeassistant.components.xiaomi_aqara
|
||||
PyXiaomiGateway==0.12.4
|
||||
|
|
Loading…
Reference in New Issue