2021-12-24 13:26:46 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('TypeError: unsupported operand type(s) for -: 'int' and 'str'') while processing template 'Template("{{ (200-states('sensor.tasmota_sr04_distance') )| round(2)}}")' for attribute '_attr_native_value' in entity 'sensor.pv_current_change'