Help Creating Sensor from attribute

Replace value_template: with state:

You’ve mixed up the old and new options.

1 Like