HomeAssistant icon indicating copy to clipboard operation
HomeAssistant copied to clipboard

Fix for temp_suffix set to None

Open franzs opened this issue 1 year ago • 0 comments

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.

franzs avatar Oct 29 '23 16:10 franzs