Closed visto9259 closed 8 months ago
Nice catch. We need to change climate.py. No need for a PR I'll fix it now. Thank you for finding this typo
I've created a new branch typo to fix this. I'll do a release this week
Good. I did a quick patch on my installation by modifying the code directly in my HASS installation and it worked.
I've push the release 2.4.6. Thanks for reporting this.
The
temperatureFormat
argument in serviceset_temperature_format
checks forcelcius
instead ofcelsius
.Then it sends
celcius
to the device which does not work.The bug is here in
climate.py
:SET_TEMPERATURE_FORMAT_SCHEMA = vol.Schema( { vol.Required(ATTR_ENTITY_ID): cv.entity_id, vol.Required(ATTR_TEMP): vol.In(["celcius", "fahrenheit"]), } )
This is a small fix. Let me fork and do a PR to fix it.