-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move provisioning config to
factory
file (#69)
- Loading branch information
1 parent
e369b4c
commit 1554ef7
Showing
3 changed files
with
63 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
packages: | ||
# This is an inline package to prefix the on_client_connected with the wait_until action | ||
# It must appear before the actual package so it becomes the orignal config and the | ||
# on_client_connected list from the package config is appended onto this one. | ||
va_connected_wait_for_ble: | ||
voice_assistant: | ||
on_client_connected: | ||
- wait_until: | ||
not: ble.enabled | ||
- delay: 2s | ||
wifi: | ||
on_disconnect: | ||
- ble.enable: | ||
voice-kit: !include voice-kit.yaml | ||
|
||
esphome: | ||
project: | ||
name: esphome.voice-kit | ||
version: dev | ||
|
||
ota: | ||
- platform: http_request | ||
id: ota_http_request | ||
|
||
http_request: | ||
|
||
update: | ||
- platform: http_request | ||
name: None | ||
id: update_http_request | ||
source: https://esphome.github.io/voice-kit/manifest.json | ||
|
||
dashboard_import: | ||
package_import_url: github://esphome/voice-kit/voice-kit.yaml | ||
|
||
wifi: | ||
on_connect: | ||
- delay: 5s # Gives time for improv results to be transmitted | ||
- ble.disable: | ||
- script.execute: control_leds | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters