Fix wrong temperature setting in LCN climate (#43818)

This commit is contained in:
Andre Lengwenus 2020-12-01 18:45:08 +01:00 committed by GitHub
parent 1c9c99571e
commit 9ace7269ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ class LcnClimate(LcnDevice, ClimateEntity):
return
if not await self.address_connection.var_abs(
self.setpoint, self._target_temperature, self.unit
self.setpoint, temperature, self.unit
):
return
self._target_temperature = temperature