hristo-atanasov / Tasmota-IRHVAC

Home Assistant platform for controlling IR Air Conditioners via Tasmota IRHVAC command and compatible hardware
196 stars 67 forks source link

[custom_components.tasmota_irhvac.climate] Unable to update from sensor: could not convert string to float: 'unknown' #5

Closed DiggiD closed 3 years ago

DiggiD commented 4 years ago

keep getting this error in the logs.. not sure what its referring to

conrad66 commented 4 years ago

I have the same problem Screenshot_12

hristo-atanasov commented 4 years ago

Yes, soon I'll fix that. It happens when you don't have temp sensor, or your temp sensor is not initialized yet, and instead of returning float for temp (like for example 22.5), it just returns 'unknown' or 'N/A' .. When I have some time to change the code, I'll make it to check if it is a string, and if yes to return some default temperature. :) I hope even with this error in the log you can use the component. :)

hristo-atanasov commented 3 years ago

Ok, I change dthe code so it shows debugs instead of errors. You will see this message only if you set the logger to debug mode. :)