You need to assign a default to your float filters… Updating Templates with the new default values in 2021.10.x
TL:DR
{% if states('sensor.solar_power_a')|float(0) > 0.0 and states('solar_power_b')|float(0) > 0.0 %}
You need to assign a default to your float filters… Updating Templates with the new default values in 2021.10.x
TL:DR
{% if states('sensor.solar_power_a')|float(0) > 0.0 and states('solar_power_b')|float(0) > 0.0 %}