Skip to content

Commit

Permalink
Remove testing entities (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpouffier committed Sep 16, 2024
1 parent a839503 commit 3301330
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
16 changes: 0 additions & 16 deletions home-assistant-voice.factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
27 changes: 1 addition & 26 deletions home-assistant-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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

0 comments on commit 3301330

Please sign in to comment.