--- language: en intents: HassSetVolumeRelative: data: # Current area - sentences: - "[turn [the]] volume up" - "turn up [the] volume" - "increase [the] volume" slots: volume_step: "up" requires_context: area: slot: true - sentences: - "[turn [the]] volume up [by] " - "turn up [the] volume [by] " - "increase [the] volume [by] " expansion_rules: volume_step: "{volume_step_up:volume_step}[%| percent]" requires_context: area: slot: true - sentences: - "[turn [the]] volume down" - "turn down [the] volume" - "decrease [the] volume" slots: volume_step: "down" requires_context: area: slot: true - sentences: - "[turn [the]] volume down [by] " - "turn down [the] volume [by] " - "decrease [the] volume [by] " expansion_rules: volume_step: "{volume_step_down:volume_step}[%| percent]" requires_context: area: slot: true # Media player by name - sentences: - "(;volume up)" - "increase [the] volume [on|for] " - "increase volume" - "turn up volume" slots: volume_step: "up" requires_context: domain: "media_player" - sentences: - "(;volume up) [by] " - "increase [the] volume ([on|for] ;[by] )" - "increase volume [by] " - "turn up volume [by] " expansion_rules: volume_step: "{volume_step_up:volume_step}[%| percent]" slots: volume_step: "up" requires_context: domain: "media_player" - sentences: - "(;volume down)" - "decrease [the] volume [on|for] " - "decrease volume" - "turn down volume" slots: volume_step: "down" requires_context: domain: "media_player" - sentences: - "(;volume down) [by] " - "decrease [the] volume ([on|for] ;[by] )" - "decrease volume [by] " - "turn down volume [by] " expansion_rules: volume_step: "{volume_step_down:volume_step}[%| percent]" slots: volume_step: "down" requires_context: domain: "media_player" # Area/floor by name - sentences: - "(;volume up)" - "[turn [the]] volume up (in|on) " - "turn up [the] volume [in|on] " - "turn up volume" - "increase [the] volume [in|on] " - "increase volume" slots: volume_step: "up" - sentences: - "(;volume up) [by] " - "[turn [the]] volume up ((in|on) ;[by] )" - "turn up [the] volume ([in|on] ;[by] )" - "turn up volume [by] " - "increase [the] volume ([in|on] ;[by] )" - "increase volume [by] " expansion_rules: volume_step: "{volume_step_up:volume_step}[%| percent]" - sentences: - "(;volume down)" - "[turn [the]] volume down (in|on) " - "turn down [the] volume [in|on] " - "turn down volume" - "decrease [the] volume [in|on] " - "decrease volume" slots: volume_step: "down" - sentences: - "(;volume down) [by] " - "[turn [the]] volume down ((in|on) ;[by] )" - "turn down [the] volume ([in|on] ;[by] )" - "turn down volume [by] " - "decrease [the] volume ([in|on] ;[by] )" - "decrease volume [by] " expansion_rules: volume_step: "{volume_step_down:volume_step}[%| percent]"