Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added template support for automation #41

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

P-Storm
Copy link
Contributor

@P-Storm P-Storm commented Feb 4, 2024

There was no support for a value template. With this change you can use a template in the automation.

alias: Button+ Update state
description: ""
trigger: []
condition: []
action:
  - device_id: <button+_id>
    domain: text
    entity_id: <button+_identity>
    type: set_value
    value: "{{ states('light.lamp') }}"
mode: single

@koenhendriks koenhendriks added this to the Version 1.0.0 milestone Feb 12, 2024
@koenhendriks koenhendriks self-assigned this Feb 12, 2024
@koenhendriks koenhendriks self-requested a review February 12, 2024 18:36
@koenhendriks koenhendriks added the enhancement New feature or request label Feb 12, 2024
Copy link
Owner

@koenhendriks koenhendriks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@koenhendriks koenhendriks merged commit 84d43d2 into koenhendriks:main Mar 10, 2024
1 of 2 checks passed
@P-Storm P-Storm deleted the feat/template branch March 10, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants