Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Home Assistant template sensor for porch motion detection
sensor:
- platform: template
sensors:
porch_last_motion:
friendly_name: 'Porch last motion'
icon_template: mdi:walk
value_template: '{{ as_timestamp(states.sensor.porch_motion.last_updated) | timestamp_custom("%a %H:%M", True) }}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.