From 330133039f78cf28972d3eafe6a944c8ca830bfc Mon Sep 17 00:00:00 2001 From: JLo Date: Mon, 16 Sep 2024 12:10:43 +0200 Subject: [PATCH] Remove testing entities (#117) --- home-assistant-voice.factory.yaml | 16 ---------------- home-assistant-voice.yaml | 27 +-------------------------- 2 files changed, 1 insertion(+), 42 deletions(-) diff --git a/home-assistant-voice.factory.yaml b/home-assistant-voice.factory.yaml index f1c377b..7752cd9 100644 --- a/home-assistant-voice.factory.yaml +++ b/home-assistant-voice.factory.yaml @@ -43,19 +43,3 @@ improv_serial: esp32_improv: authorizer: center_button - -button: - # TODO: Remove before launch, added for testing/development - - platform: template - name: Check for update - entity_category: diagnostic - on_press: - - component.update: update_http_request - # TODO: Remove before launch, added for testing/development - - platform: template - name: Perform Update - entity_category: diagnostic - on_press: - - update.perform: - id: update_http_request - force_update: true diff --git a/home-assistant-voice.yaml b/home-assistant-voice.yaml index 5513ea4..2780794 100644 --- a/home-assistant-voice.yaml +++ b/home-assistant-voice.yaml @@ -28,7 +28,6 @@ esphome: # Run the script to refresh the LED status - script.execute: control_leds - delay: 1s - # TODO: make it internal before launch - switch.turn_on: internal_speaker_amp # If the hardware switch is ON, force the software switch to be ON too. This covers the case where the Mute hardware switch is operated when the device is turned off - if: @@ -856,17 +855,6 @@ sensor: id: control_hue increase_hue: false - # To be removed before launch - - platform: debug - free: - name: "Heap Free" - block: - name: "Max Block Free" - loop_time: - name: "Loop Time" - psram: - name: "PSRAM Free" - event: # Event entity exposed to the user to automate on complex center button presses. # The simple press is not exposed as it is used to control the device itself. @@ -1477,24 +1465,11 @@ voice_assistant: - switch.turn_on: timer_ringing button: - # TODO: Remove before launch, added for testing/development - - platform: restart - name: "Restart" - entity_category: diagnostic - # TODO: make it internal before launch - platform: factory_reset id: factory_reset_button name: "Factory Reset" entity_category: diagnostic - # TODO: Remove before launch, added for testing/development - - platform: template - name: "timer beep" - entity_category: diagnostic - on_press: - - script.execute: - id: play_sound - priority: true - sound_file: !lambda return id(timer_finished_sound); + internal: true debug: update_interval: 5s