# ============================================================================= # Cross-Device Timer Control Custom Sentences # ============================================================================= # Place this file in: config/custom_sentences/en/cross_device_timers.yaml # # These sentences enable controlling timers in other areas from any voice # assistant. The corresponding intent scripts are in cross_device_intent_scripts.yaml # # CUSTOMIZATION: Modify the {target_location} list expansions below to match # your area names. The expansion values should match the keys in the # target_to_area mapping in cross_device_intent_scripts.yaml # # Example phrases: # - "Start the kitchen timer for 5 minutes" # - "Cancel the bedroom timer" # - "How much time on the playroom timer" # - "Move the timer to the kitchen" # - "Restart the bedroom timer" # ============================================================================= language: "en" # ----------------------------------------------------------------------------- # List Expansions for Target Locations # ----------------------------------------------------------------------------- # Add your area names and aliases here. Each entry should match a key in # the target_to_area mapping in cross_device_intent_scripts.yaml # ----------------------------------------------------------------------------- lists: target_location: values: # Kitchen area (and aliases) - in: "kitchen" out: "kitchen" - in: "kitchen timer" out: "kitchen" - in: "the kitchen" out: "kitchen" - in: "the kitchen timer" out: "kitchen" - in: "dining" out: "kitchen" - in: "the dining room" out: "dining room" # Bedroom area (and aliases) - in: "bedroom" out: "bedroom" - in: "bedroom timer" out: "bedroom" - in: "the bedroom" out: "bedroom" - in: "the bedroom timer" out: "bedroom" - in: "my bedroom" out: "my bedroom" # Playroom area (and aliases) - in: "playroom" out: "playroom" - in: "playroom timer" out: "playroom" - in: "the playroom" out: "playroom" - in: "the playroom timer" out: "playroom" # Add more areas as needed: # - in: "living room" # out: "living_room" # - in: "the living room" # out: "living_room" # - in: "office" # out: "office" intents: # --------------------------------------------------------------------------- # StartOtherTimer - Start a timer in another area # --------------------------------------------------------------------------- StartOtherTimer: data: - sentences: - "(start|set|begin) [a|the] {target_location} [timer] [for] " - "(start|set|begin) [a] [timer] [in|for|on] {target_location} [for] " - "[set|start] [a] timer [in|for|on] {target_location}" slots: hours: "{{ slots.duration.hours | default(0) }}" minutes: "{{ slots.duration.minutes | default(0) }}" seconds: "{{ slots.duration.seconds | default(0) }}" # --------------------------------------------------------------------------- # CancelOtherTimer - Cancel a timer in another area # --------------------------------------------------------------------------- CancelOtherTimer: data: - sentences: - "(cancel|stop|clear|end|delete|remove) [the] {target_location} [timer]" - "(cancel|stop|clear|end|delete|remove) [the] [timer] [in|for|on] {target_location}" - "turn off [the] {target_location} [timer]" # --------------------------------------------------------------------------- # GetOtherTimerStatus - Check timer status in another area # --------------------------------------------------------------------------- GetOtherTimerStatus: data: - sentences: - "(how much|how long|what's left on|check) [time] [on|is on|left on] [the] {target_location} [timer]" - "what is the {target_location} [timer] (status|time|remaining)" - "[timer] status [of|for|in] [the] {target_location}" - "time (remaining|left) [on|for] [the] {target_location} [timer]" # --------------------------------------------------------------------------- # RestartOtherTimer - Restart timer in another area with original duration # --------------------------------------------------------------------------- RestartOtherTimer: data: - sentences: - "(restart|reset|rerun|redo) [the] {target_location} [timer]" - "(start|run) [the] {target_location} [timer] (over|again)" - "{target_location} timer (restart|reset|again|over)" # --------------------------------------------------------------------------- # MoveTimerToOtherArea - Move current timer to another area # --------------------------------------------------------------------------- MoveTimerToOtherArea: data: - sentences: - "(move|transfer|send) [the|my] timer to [the] {target_location}" - "(move|transfer|send) [the] timer [over] to {target_location}" - "put [the|my] timer [in|on] [the] {target_location}"