Add support to control cooling in deCONZ climate platform (#43720)

* Add fan support

* Add HVAC cool support

* Fix Martins comment from #43607

* Add preset support

* Improve climate test coverage

* Remove fan support

* Remove preset support

* Remove last preset piece
This commit is contained in:
Robert Svensson 2020-11-28 13:11:13 +01:00 committed by GitHub
parent 65bc128c86
commit 6fa3e287da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 128 additions and 17 deletions

View file

@ -116,6 +116,7 @@ class DeconzCover(DeconzDevice, CoverEntity):
"""Return the current tilt position of the cover."""
if self._device.tilt is not None:
return 100 - self._device.tilt
return None
async def async_set_cover_tilt_position(self, **kwargs):
"""Tilt the cover to a specific position."""