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

Add activate scene to script syntax #27026

Closed
balloob opened this issue Sep 28, 2019 · 0 comments · Fixed by #27223

Comments

@balloob
Copy link
Member

commented Sep 28, 2019

It's a goal to make scenes easier to use. So we should add activation of a scene a new type of action in our script syntax.

I propose a new scene: option that will be detected as a scene that has to be activated.

Script syntax is defined in helper/script.py

# Example configuration.yaml entry
script:
  message_temperature:
    sequence:
      # This is Home Assistant Script Syntax
      - scene: scene.morning_living_room

For past this PR: we could add some restoration features to the scene action to allow restoring it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.