Files
core/tests
UnaiandGitHub 0706ae70dc Simplify maxcube integration (#48403)
* Simplify maxcube integration

Device objects returned by maxcube-api dependency are stable, so
we do not need to resolve from the device address every time.

Also, refactor and unify how maxcube integration sets temperature & mode.

* Raise ValueError if missing parameters for set_temperature method

Raise a ValueError exception If set_temperature does not receive
a temperature parameter.

Also, document properly _set_target method.

* Use Type | None instead of Optional[Type] annotation

* Protect set_hvac_mode and set_preset_mode from unsupported parameters
2021-03-28 00:21:20 +01:00
..
2021-01-01 22:31:56 +01:00
2021-02-14 13:46:58 +01:00
2020-12-19 12:35:13 +01:00
2021-03-21 21:44:29 -07:00
2021-01-01 22:31:56 +01:00