Created
March 8, 2023 17:53
-
-
Save samplec0de/a08c9ff9320908180769478686ca29f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
value_template: >- | |
{% set andrey_id = states.person.admin.attributes.user_id | |
%} | |
{% set nastya_id = states.person.nastya.attributes.user_id | |
%} | |
{% set who_stopped_id = | |
states.input_button.alarm_stopped.context.user_id %} | |
{% set andrey_stopped = who_stopped_id == andrey_id %} | |
{{ andrey_stopped }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment