Fix template variable access in actions
Adds variables section to properly expose blueprint inputs as template variables, fixing undefined variable errors in conditions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,9 @@ trigger:
|
||||
condition: []
|
||||
|
||||
action:
|
||||
- variables:
|
||||
occupancy_sensors: !input occupancy_sensors
|
||||
adaptive_lighting_switch: !input adaptive_lighting_switch
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
|
||||
Reference in New Issue
Block a user