Alert problem

I would change the sensor value template as a test.

Try make it simple at first and take a backup of the template,

I think it might be related to this line @php echo ($value['sensor_current']-$value['sensor_limit']); @endphp
Delete that whole line and try change it to just {{ $value['sensor_current'] }} and
{{ $value['sensor_limit'] }}

There may be a small formatting error somewhere causing this error. If it continues, un-map your templates 1 by 1 to debug.