chore: initial baseline before refactoring
Initial snapshot of Home Assistant config (HAOS 2026.4.4)
prior to dashboard restructuring and helper YAML migration.
Pre-commit cleanup applied:
- Removed blueprints/switch_manager/ (9.4 MB stale, component already gone)
- Removed .storage/switch_manager
- Removed home-assistant.log.{1,old,fault}
- Removed zigbee2mqtt/configuration_backup_v{1..4}.yaml
- Removed zigbee2mqtt/database.db.tmp.2024-09-27 (1.5y old)
- Created empty themes/ to satisfy configuration.yaml include
.gitignore uses allowlist strategy for .storage/ to keep
all tokens, keys, and PINs out of version control.
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
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:
|
||||
home-assistant-voice: !include home-assistant-voice.yaml
|
||||
esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic/esp32-generic.yaml@main
|
||||
|
||||
esphome:
|
||||
project:
|
||||
name: Nabu Casa.Home Assistant Voice PE
|
||||
version: dev
|
||||
|
||||
ota:
|
||||
- platform: http_request
|
||||
id: ota_http_request
|
||||
|
||||
http_request:
|
||||
|
||||
update:
|
||||
- platform: http_request
|
||||
name: None
|
||||
id: update_http_request
|
||||
source: https://firmware.esphome.io/home-assistant-voice-pe/home-assistant-voice/manifest.json
|
||||
|
||||
dashboard_import:
|
||||
package_import_url: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
|
||||
|
||||
wifi:
|
||||
on_connect:
|
||||
- delay: 5s # Gives time for improv results to be transmitted
|
||||
- ble.disable:
|
||||
- script.execute: control_leds
|
||||
|
||||
improv_serial:
|
||||
|
||||
esp32_ble:
|
||||
name: ha-voice-pe
|
||||
|
||||
esp32_improv:
|
||||
authorizer: center_button
|
||||
on_start:
|
||||
- lambda: id(improv_ble_in_progress) = true;
|
||||
- script.execute: control_leds
|
||||
on_provisioned:
|
||||
- lambda: id(improv_ble_in_progress) = false;
|
||||
- script.execute: control_leds
|
||||
on_stop:
|
||||
- lambda: id(improv_ble_in_progress) = false;
|
||||
- script.execute: control_leds
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: beta_firmware
|
||||
name: Beta firmware
|
||||
icon: "mdi:test-tube"
|
||||
disabled_by_default: true
|
||||
entity_category: config
|
||||
optimistic: true
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
on_turn_on:
|
||||
- logger.log: "OTA updates set to use Beta firmware"
|
||||
- lambda: id(update_http_request).set_source_url("https://firmware.esphome.io/home-assistant-voice-pe/home-assistant-voice/manifest-beta.json");
|
||||
- component.update: update_http_request
|
||||
on_turn_off:
|
||||
- logger.log: "OTA updates set to use Production firmware"
|
||||
- lambda: id(update_http_request).set_source_url("https://firmware.esphome.io/home-assistant-voice-pe/home-assistant-voice/manifest.json");
|
||||
- component.update: update_http_request
|
||||
|
||||
Reference in New Issue
Block a user