Advertisement
chrisdaloa

Last update sensor

Dec 28th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.22 KB | None | 0 0
  1. - platform: template
  2.     sensors:
  3.       NOME_NUOVO_SENSORE:
  4.         value_template: {{ as_timestamp(states.sensor.NOME_SENSORE_DA_CONTROLLARE.last_updated) | timestamp_custom('%H:%M') }}’
  5.         entity_id: sensor.Time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement