#Cant take control of Voice PEs
1 messages · Page 1 of 1 (latest)
This is the code that fails when i try taking control:
name: home-assistant-voice-09fd99
friendly_name: Home Assistant Voice 09fd99
packages:
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
api:
encryption:
key: censored
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
And this is the error it gives:
INFO Reading configuration /config/esphome/home-assistant-voice-09fd99.yaml...
INFO Updating https://github.com/esphome/home-assistant-voice-pe@dev
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 10, in <module>
sys.exit(main())
^^^^^^
File "/esphome/esphome/__main__.py", line 1638, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/__main__.py", line 1617, in run_esphome
config = read_config(
^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1323, in read_config
res = load_config(command_line_substitutions, skip_external_update)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1180, in load_config
return _load_config(command_line_substitutions, skip_external_update)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1168, in _load_config
return validate_config(config, command_line_substitutions, skip_external_update)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/config.py", line 1034, in validate_config
do_external_components_pass(config, skip_update=skip_external_update)
File "/esphome/esphome/components/external_components/__init__.py", line 118, in do_external_components_pass
_process_single_config(c, skip_update)
File "/esphome/esphome/components/external_components/__init__.py", line 79, in _process_single_config
components_dir = _process_git_config(
^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/components/external_components/__init__.py", line 45, in _process_git_config
repo_dir, _ = git.clone_or_update(
^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/git.py", line 159, in clone_or_update
age = datetime.now() - datetime.fromtimestamp(file_timestamp.stat().st_mtime)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/pathlib.py", line 840, in stat
return os.stat(self, follow_symlinks=follow_symlinks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/data/external_components/24d068fa/.git/HEAD'
On the ESPHome builder tool dashboard click the 3 dot menu on the device in question and select "Clean All Files", This can take a moment. Then try building/installing again.
Thats got it untuck! Thanks!
got all 6 Voice PEs now responding to "Echo". they actually respond to Echo better than the ones they come with onboard
No worries, Sometimes you just need to slap ESPHome.