HA 2022.1 template problem

Hello.

I have moved my home assistant to new machine with latest version and some features doesn’t work anymore.

Log entry:
Template warning: ‘int’ got invalid input ‘unavailable’ when rendering template ‘{{ [0, states(‘sensor.solar_sunpower’) | int + states(‘sensor.total_system_power’) | int ] | max }}’ but no default was specified. Currently ‘int’ will return ‘0’, however this template will fail to render in Home Assistant core 2022.1

also

Logger: homeassistant.components.filesize.sensor
Source: components/filesize/sensor.py:34
Integration: filesize (documentation, issues)
First occurred: 11:24:27 (1 occurrences)
Last logged: 11:24:27

Filepath /config/home-assistant_v2.db is not valid or allowed

Can anyone give me advice how to fix this?

For the first one:

For the second one:

https://www.home-assistant.io/integrations/filesize/

1 Like