Skip to content

more Q but an issue about variables #113

@commentsonly

Description

@commentsonly

when using

type: custom:state-switch
entity: template
template: >-
  {% set x = .....

is there a chance to access these further down within the

states:
  xx
  variables:
    - entity_1: {{x}}

section?
Would allow me to save around 99% of the complete YAML code.
Perhaps I'm not skilled enough with YAML or this isn't possible .. unsure about that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions