File Sensor state "unknown", updating on file change?

I’m trying to get a File sensor to work, but don’t known if the sensor is doing what i’m expecting.
I’m hoping the sensor is reading the file and if the file changes, the sensor also change.

Here’s my sensor config;

  - platform: file
    name: cputemperature2
    file_path: /config/systemtempsensors.json
    value_template: >
      '{{ value_json["coretemp-isa-0000"]["Package id 0"].temp1_input }}'
    #.["coretemp-isa-0000"]["Package id 0"].temp1_input }}
    unit_of_measurement: '°C'

For now the sensor is showing the state “Unknown”, so it probably isn’t working.
Is there also a possiblity to debug the templating ?

1 Like

I get no config or other errors, but after 12 hours the sensor is still on the “Unknown” state.
Anybody can help me whats wrong here?

Did you get this solved? I’m having the same problem.