Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: template
- sensors:
- took_vitamins:
- friendly_name: "Didn't Take Vitamins"
- value_template: >-
- {% if is_state("input_boolean.vitamins_taken", "on") %}
- {{ true }}
- {{ friendly_name: "Took Vitamins" }}
- {% else %}
- {{ false }}
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement