# ============================================================================= # Timer State Helpers for Intent Scripts # ============================================================================= # Add to configuration.yaml: input_text: !include input_text_helpers.yaml # Or merge into your existing input_text configuration. # # These helpers store timer state before actions run, allowing the speech # block to know what state triggered the action. This is necessary because # variables defined in action blocks are not accessible in speech blocks. # # Naming convention: input_text._timer_previous_state # ============================================================================= # Helper for kitchen area kitchen_timer_previous_state: name: Kitchen Timer Previous State max: 16 # Helper for bedroom area bedroom_timer_previous_state: name: Bedroom Timer Previous State max: 16 # Helper for playroom area playroom_timer_previous_state: name: Playroom Timer Previous State max: 16 # Helper for timer move operations (stores move result for speech) timer_move_state: name: Timer Move State max: 255 # ============================================================================= # Add helpers for additional areas: # ============================================================================= # living_room_timer_previous_state: # name: Living Room Timer Previous State # max: 16 # # office_timer_previous_state: # name: Office Timer Previous State # max: 16