MatterVN / ModbusTCP2MQTT

Sungrow & SMA Solar Inverter addon for Home Assistant using mobusTCP
MIT License
69 stars 52 forks source link

Add-On using float without default value? #11

Open JRampager opened 2 years ago

JRampager commented 2 years ago

Hi,

First of all, thanks for a great Add-ON!

I am getting warnings in HA : 2021-12-17 19:30:24 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'float' got invalid input 'unknown' when rendering template '{{ states("sensor.sungrow20ktl_mtotalactivepower_kw") | float / 17 }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2022.1

I am having a hard time finding the root of these warnings but they seem to correspond to when i restart the Add-On or Inverter is offline.

Thanks!

BR,

/Pontus