Hi, I’m looking for a way to get the biggest difference of Set vs. current temperature from all climate controls.
i made a list of climate entities, and can get the delta via state_attr(climate, 'current_temperature') - state_attr(climate, 'temperature') but if I run it in a for loop I can’t use the min or max functions of an array.
Alternativ if I try {{ climates |state_attr('current_temperature') }} I get an error I can’t comprehend: AttributeError: 'list' object has no attribute 'lower'