From 24cb20a3711c4a62ddbf7e6eb6abd5206d2e303f Mon Sep 17 00:00:00 2001 From: Kevin Ahrendt Date: Fri, 25 Oct 2024 12:36:24 +0000 Subject: [PATCH] update test --- tests/components/nabu/test.esp32-s3-idf.yaml | 1 - .../test.esp32-s3-idf.yaml} | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 tests/components/nabu/test.esp32-s3-idf.yaml rename tests/components/{nabu/common.yaml => speaker/test.esp32-s3-idf.yaml} (78%) diff --git a/tests/components/nabu/test.esp32-s3-idf.yaml b/tests/components/nabu/test.esp32-s3-idf.yaml deleted file mode 100644 index dade44d145..0000000000 --- a/tests/components/nabu/test.esp32-s3-idf.yaml +++ /dev/null @@ -1 +0,0 @@ -<<: !include common.yaml diff --git a/tests/components/nabu/common.yaml b/tests/components/speaker/test.esp32-s3-idf.yaml similarity index 78% rename from tests/components/nabu/common.yaml rename to tests/components/speaker/test.esp32-s3-idf.yaml index fb1c1844d7..ad91db1b18 100644 --- a/tests/components/nabu/common.yaml +++ b/tests/components/speaker/test.esp32-s3-idf.yaml @@ -14,12 +14,12 @@ esphome: - media_player.pause: - media_player.toggle: - media_player.stop: - - nabu.play_local_media_file: wake_word_trigger_sound - - nabu.stop_pipeline: media - - nabu.play_local_media_file: + - speaker_media_player.play_local_media_file: wake_word_trigger_sound + - speaker_media_player.stop_pipeline: media + - speaker_media_player.play_local_media_file: media_file: wake_word_trigger_sound announcement: true - - nabu.stop_pipeline: announcement + - speaker_media_player.stop_pipeline: announcement wifi: ssid: MySSID @@ -38,8 +38,8 @@ speaker: sample_rate: 16000 media_player: - - platform: nabu - id: nabu_media_player + - platform: speaker + id: speaker_media_player name: Media Player speaker: speaker_id sample_rate: 16000 @@ -56,11 +56,11 @@ media_player: - wait_until: media_player.is_idle: on_volume: - - nabu.set_ducking: + - speaker_media_player.set_ducking: decibel_reduction: 20 duration: 0.0s - wait_until: media_player.is_idle: - - nabu.set_ducking: + - speaker_media_player.set_ducking: decibel_reduction: 0 duration: 2.0s