HomeAssistant
HomeAssistant copied to clipboard
Fix for temp_suffix set to None
If temp_suffix
is set to None
an error shows up:
ERROR (MainThread) [homeassistant.components.automation.weather_display] Error rendering variables: TypeError: 'float' object is not iterable
This is caused by get_text_len
being called with a float instead of an string which is not iterable. To solve this the argument is casted to string.