Open franzs opened 1 year ago
If temp_suffix is set to None an error shows up:
temp_suffix
None
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.
get_text_len
If
temp_suffix
is set toNone
an error shows up: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.