dadge / simple_thermostat

A simple thermostat with preset mode management
MIT License
13 stars 4 forks source link

Unable to set target_temp_step line in generic thermostat #4

Open jezzaaa opened 2 years ago

jezzaaa commented 2 years ago

I cannot change the precision of the set temp only. The generic_thermostat allows separate setting of precision and target_temp_step. If I set target_temp_step with simple_thermostat, I get an error. It looks like the code is there to handle, just not the string to match the config setting keyword.

jezzaaa commented 2 years ago

I modified my own copy of climate.py, adding in the relevant bits from the Generic Thermostat (about half a dozen lines), and (after a full restart of HA) it seems to be working OK. I can set the target_temp_step value, and the UI honours the setting, while leaving the current temp precision as (the default of) 0.1.

I'll do a PR once I work out how - I'm not very familiar with git.

dadge commented 2 years ago

Hello,

Sorry this code is not maintained anymore, please consider to switch to the new one : https://github.com/dadge/awesome_thermostat

Regards

papagiorgio9 commented 1 year ago

dadge it's pitty that code is not maintained anymore. Simple thermostat is that what im looking! I will want set tempreture undependly for eco mode and comfort mode by ui lovelance thermostat (i have simple thermostat with circle coud i have seting by mouse) but problem was when im change mode. For example i set mode to comfort, set tempreture to 19 degrees, next im switch mode to eco and set, for example 16 degrees. When im back to comfort mode I have setpoint from configuration.yaml not that what im set before. Your simple thermostat work whit my expected! Maybe make similar this new awesome_thermostat?