PaulAnnekov / tuyaha

Implements the special Tuya Home Assistant API.
Other
141 stars 106 forks source link

Manage digits in target temperature for Climate Devices #61

Closed ollo69 closed 3 years ago

ollo69 commented 3 years ago

This PR contain 2 fixes for climate device:

  1. add list of allowed temperature steps to use in HA and fix the set_temperature method to manage digits: this will allow in HA to define different temperature steps and will manage steps with decimals. This PR replace PR #54 and PR #59

  2. add a parameter to set_temperature method to choose update mode (fix for issue #51)

I will create required PR in HA to bump new version and apply required changes if this PR will be approved.

matitalatina commented 3 years ago

@PaulAnnekov please, can you have a look at it? We can't proceed further otherwise.

PaulAnnekov commented 3 years ago

@matitalatina @ollo69 thank you. Already in version 0.0.10.

ollo69 commented 3 years ago

Thanks @PaulAnnekov, I will create HA PR this w.e.