Home Assistant Template warning

 

Logger: homeassistant.helpers.template
Source: helpers/template.py:1210
First occurred: November 11, 2021, 1:13:30 PM (30 occurrences)
Last logged: November 11, 2021, 1:13:30 PM

  • Template warning: 'float' got invalid input 'unavailable' when rendering template '{{ "%.1f"|format(states('sensor.ewelink_th03_humidity') | float * 91 / 100) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2021.12
  • Template warning: 'float' got invalid input 'unavailable' when rendering template '{{ "%.1f"|format(states('sensor.ewelink_th04_humidity') | float * 91 / 100) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2021.12
  • Template warning: 'float' got invalid input 'unavailable' when rendering template '{{ "%.1f"|format(states('sensor.ewelink_th05_humidity') | float * 91 / 100) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2021.12
  • Template warning: 'float' got invalid input 'unavailable' when rendering template '{{ "%.1f"|format((states('sensor.ewelink_th01_7e726c22_temperature') | float + states('sensor.ewelink_th02_temperature') | float + states('sensor.ewelink_th03_temperature') | float + states('sensor.ewelink_th04_temperature') | float + states('sensor.ewelink_th05_temperature') | float) / 5) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2021.12
  • Template warning: 'float' got invalid input 'unavailable' when rendering template '{{ "%.1f"|format((states('sensor.ewelink_th01_7e726c22_humidity') | float + states('sensor.ewelink_th02_humidity') | float + states('sensor.ewelink_th03_humidity') | float + states('sensor.ewelink_th04_humidity') | float + states('sensor.ewelink_th05_humidity') | float) / 5 * 91 / 100) }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2021.12

Comments