(Context: chore logging system).
I’ve currently got this configured.
The end goal is to log chore completions with a counter. But as an intermediate step, for validation, I’m trying to get it to just send out notifications.
Obviously my user ID isn’t ‘danieldanieldaniel’ (etc)!
More importantly:
Can the user ID still be built into a conditional automation in this manner and what is the correct syntax?
alias: Dishwasher was loaded
description: "Notifies when somebody loads the dishwasher and marks off the task"
trigger:
- platform: state
entity_id:
- input_boolean.chore2
to: "on"
condition:
- condition: template
value_template: template
value_template: "{{ trigger.to_state.context.user_id != 'danieldanieldanieldaniel' }}"
action:
- service: notify.notify
metadata: {}
data:
title: Daniel loaded the dishwasher!
mode: single