- platform: template
sensors:
NOME_NUOVO_SENSORE:
value_template: ‘{{ as_timestamp(states.sensor.NOME_SENSORE_DA_CONTROLLARE.last_updated) | timestamp_custom('%H:%M') }}’
entity_id: sensor.Time
- platform: template
sensors:
NOME_NUOVO_SENSORE:
value_template: ‘{{ as_timestamp(states.sensor.NOME_SENSORE_DA_CONTROLLARE.last_updated) | timestamp_custom('%H:%M') }}’
entity_id: sensor.Time
Comments