From 4980b7a5ec30d83e8500c3c96cc726343f688ba4 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Mon, 24 Jun 2024 11:16:47 -0500 Subject: [PATCH] Add "1/2" alongside "half" (#2253) --- sentences/en/_common.yaml | 2 ++ tests/en/homeassistant_HassStartTimer.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/sentences/en/_common.yaml b/sentences/en/_common.yaml index a7222ed1c8..7977ceaffd 100644 --- a/sentences/en/_common.yaml +++ b/sentences/en/_common.yaml @@ -353,6 +353,8 @@ lists: values: - in: "half" out: 30 + - in: "1/2" + out: 30 timer_name: wildcard: true timer_command: diff --git a/tests/en/homeassistant_HassStartTimer.yaml b/tests/en/homeassistant_HassStartTimer.yaml index 63c66f7509..bdf2e5021a 100644 --- a/tests/en/homeassistant_HassStartTimer.yaml +++ b/tests/en/homeassistant_HassStartTimer.yaml @@ -28,6 +28,7 @@ tests: - sentences: - "set a timer for half a minute" + - "set a timer for 1/2 a minute" intent: name: HassStartTimer context: @@ -38,6 +39,7 @@ tests: - sentences: - "set a timer for 1 and a half hours" + - "set a timer for 1 and a 1/2 hours" intent: name: HassStartTimer context: @@ -49,6 +51,7 @@ tests: - sentences: - "set a timer for half an hour" + - "set a timer for 1/2 an hour" intent: name: HassStartTimer context: