Template Sensors not updating unless restart. HA v87.1

Have a hs110 plugged into my washing machine and the data via template sensors I’ve created. The values no longer update unless I restart home assistant. Anybody else experience this?

Does the log show anything? Some templates need to have an automation to refresh… like this…

- id: 'alarmeventrefresh'
  alias: 'Alarm Event Check'
  - event: start
    platform: homeassistant
  - platform: time_pattern
    minutes: '/1'
  - service: homeassistant.update_entity
    entity_id: sensor.alarm_triggers

This one updates when HA starts and every minute.

Did you explicitly define the entity ids for the templates?

It helps if HA cant work out what entity to monitor for change to update the template.

well either that or an automation similar to above as recommended in the docs…

I think I may have the entity I’d wrong. Would the correct entity Id of the tp link switches attributes be the switch itself?

Post your code for the sensor.

No need that was indeed the issue. Thankyou for your help guys appreciated!