Commit Graph

1077 Commits (llm-task-pref)

Author SHA1 Message Date
J. Nick Koston 9ce44845fe
Add a repair for ESPHome device conflicts (#142507) 2025-04-14 07:10:05 -10:00
Paulus Schoutsen c6abe1d1bb
Remove the word "node" from ESPHome texts (#142929) 2025-04-14 15:28:02 +02:00
J. Nick Koston a340646e1e
Avoid starting ESPHome reauth when an unexpected device is found at the last address (#142814)
* Bump aioesphomeapi to 29.10.0

changelog: https://github.com/esphome/aioesphomeapi/compare/v29.9.0...v29.10.0

* Avoid starting ESPHome reauth when an unexpected device is found at the last address

fixes #133956

* coverage
2025-04-14 10:10:07 +02:00
J. Nick Koston 8767599ad4
Validate ESPHome mac address before updating IP on discovery (#142878)
* Bump aioesphomeapi to 29.10.0

changelog: https://github.com/esphome/aioesphomeapi/compare/v29.9.0...v29.10.0

* Validate ESPHome mac address before updating IP on discovery

In some cases the data coming in from discovery may be
stale since there is a small race window if devices
get new IP allocations. Since some routers do not update
their names right away and zeroconf has a non-zero TTL
there is a small window where the discovery data can be
stale. This is a rare condition but it does happen. With
aioesphomeapi 29.10.0+ and ESPHome 2025.4.x+ we can validate
the mac address even without the correct encryption key
which allows us to be able to always validate the MAC
before updating the IP from any discovery method.

* tweaks

* fix test
2025-04-14 10:02:46 +02:00
J. Nick Koston 8bcc4f4c82
Avoid setting up ESPHome dashboard if its been uninstalled (#142904)
* Avoid setting up ESPHome dashboard if its been uninstalled

* tweaks

* coverage

* coverage

* fix
2025-04-14 09:49:21 +02:00
J. Nick Koston 6c7865a247
Bump aioesphomeapi to 29.10.0 (#142813) 2025-04-13 10:08:01 -10:00
J. Nick Koston 8aee79085a
Bump aioesphomeapi to 29.9.0 (#142393)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.8.0...v29.9.0

fixes #142381
2025-04-06 01:00:41 -10:00
J. Nick Koston 95ffa20bd5
Bump bleak-esphome to 2.13.1 (#142233)
* Bump bleak-esphome to 2.13.0

changelog: https://github.com/Bluetooth-Devices/bleak-esphome/compare/v2.12.0...v2.13.0

* 13.1
2025-04-04 08:43:04 +02:00
J. Nick Koston 1639163c2e
Handle encryption being disabled on an ESPHome device (#141887)
fixes #121442
2025-03-30 21:25:24 -04:00
J. Nick Koston 704d7a037c
Bump aioesphomeapi to 29.8.0 (#141888)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.7.0...v29.8.0
2025-03-30 21:14:17 -04:00
Paulus Schoutsen 86be626c69
Migrate ESPHome to use token instead of media source ID for legacy Assist Pipelines (#139665)
Migrate legacy ESPHome devices to use TTS token

Co-authored-by: Franck Nijhof <git@frenck.dev>
2025-03-30 16:53:49 +02:00
J. Nick Koston 6d48fc183a
Fix ESPHome update entities being loaded before device_info is available (#141704)
* Fix ESPHome update entities being loaded before device_info is available

Since we load platforms when restoring config, the update
platform could be loaded before the connection to the
device was finished which meant device_info could still
be empty. Wait until device_info is available to
load the update platform.

fixes #135906

* Apply suggestions from code review

* move comment

* Update entry_data.py

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>

---------

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2025-03-29 17:53:01 +01:00
J. Nick Koston ea8392a4a1
Fix ESPHome entities not being removed when the ESPHome config removes an entire platform (#141708)
* Fix old ESPHome entities not being removed when configuration changes

fixes #140756

* make sure all callbacks fire

* make sure all callbacks fire

* make sure all callbacks fire

* make sure all callbacks fire

* revert

* cover
2025-03-29 17:48:51 +01:00
Franck Nijhof d765936be3
Fix ESPHome event entity staying unavailable (#141650) 2025-03-28 13:55:11 +01:00
Michael Hansen 220aaf93c6
Add preannounce media id support for ESPHome (#141474)
* Working on preannounce media id support for ESPHome

* Fix test

* Update tests
2025-03-26 11:31:05 -05:00
Michael Hansen ae18fa2e30
Add start conversation support to ESPHome (#141387) 2025-03-25 13:38:52 -05:00
Norbert Rittel 3101d9099b
Fix spelling of "mDNS" in `esphome` (#141052)
Change "MDNS" to the correct "mDNS".
2025-03-21 12:19:07 +02:00
J. Nick Koston 99f661538d
Bump aioesphomeapi to 29.7.0 (#140641)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.6.0...v29.7.0
2025-03-15 12:27:06 +02:00
J. Nick Koston 474d427b87
Bump bleak-esphome to 2.12.0 (#140543)
changelog: https://github.com/Bluetooth-Devices/bleak-esphome/compare/v2.11.0...v2.12.0
2025-03-13 21:01:41 +01:00
J. Nick Koston ab56a4ca69
Bump aioesphomeapi to 29.6.0 (#140481)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.5.1...v29.6.0
2025-03-12 22:15:28 -04:00
J. Nick Koston 3c6b49b34f
Bump aioesphomeapi to 29.5.1 (#140231)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.4.1...v29.5.1

Adds a `--verbose` flag to `aioesphomeapi-discover` to help
track down https://github.com/esphome/issues/issues/6311
2025-03-09 23:03:19 +02:00
J. Nick Koston ffcc0496f1
Bump aioesphomeapi to 29.4.1 (#140165)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.4.0...v29.4.1
2025-03-08 12:52:51 -10:00
J. Nick Koston e60a284354
Bump aioesphomeapi to 29.4.0 (#139806)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.3.2...v29.4.0
2025-03-04 17:25:43 -10:00
J. Nick Koston 27fd0a88f4
Bump bleak-esphome to 2.11.0 (#139803)
changelog: https://github.com/Bluetooth-Devices/bleak-esphome/compare/v2.10.2...v2.11.0
2025-03-04 17:12:45 -10:00
J. Nick Koston d38e046494
Bump bleak-esphome to 2.10.2 (#139731)
* Bump bleak-esphome to 2.10.0

changelog: https://github.com/Bluetooth-Devices/bleak-esphome/compare/v2.9.0...v2.10.0

* again for wheel fix

* disable name check since its a binary now
2025-03-04 11:49:44 +01:00
J. Nick Koston 1b15df3075
Bump ESPHome stable BLE version to 2025.2.2 (#139704)
ensure proxies have https://github.com/esphome/esphome/pull/8328
so they do not reboot themselves if disconnecting takes
too long
2025-03-03 12:44:49 -05:00
J. Nick Koston 387bf83ba8
Bump aioesphomeapi to 29.3.2 (#139653)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.3.1...v29.3.2
2025-03-02 20:53:45 +01:00
J. Nick Koston 4c8a58f7cc
Fix broken link in ESPHome BLE repair (#139639)
ESPHome always uses .0 in the URL for the changelog,
and we never had a patch version in the stable
BLE version field so we need to switch it to
.0 for the URL.
2025-03-02 16:50:35 +01:00
Paulus Schoutsen 7293ae5d51
Fix type for ESPHome assist satellite events (#139618) 2025-03-01 22:59:14 -05:00
J. Nick Koston 89b655c192
Fix handling of NaN float values for current humidity in ESPHome (#139600)
fixes #131837
2025-03-01 16:13:04 -06:00
J. Nick Koston ee1fe2cae4
Bump bleak-esphome to 2.9.0 (#139467)
* Bump bleak-esphome to 2.9.0

changelog: https://github.com/Bluetooth-Devices/bleak-esphome/compare/v2.8.0...v2.9.0

* fixes
2025-02-28 16:17:44 -06:00
Paulus Schoutsen 90fc6ffdbf
Add support for continue conversation in Assist Pipeline (#139480)
* Add support for continue conversation in Assist Pipeline

* Also forward to ESPHome

* Update snapshot

* And mobile app
2025-02-28 13:15:31 -06:00
J. Nick Koston 0afdd9556f
Bump aioesphomeapi to 29.3.1 (#139465) 2025-02-27 21:45:13 +00:00
J. Nick Koston a339fbaa82
Bump aioesphomeapi to 29.3.0 (#139441) 2025-02-27 16:56:30 +00:00
J. Nick Koston 735b843f5e
Bump bleak-esphome to 2.8.0 (#139426) 2025-02-27 12:22:43 +00:00
J. Nick Koston 2bf592d8aa
Bump recommended ESPHome Bluetooth proxy version to 2025.2.1 (#139196) 2025-02-26 12:55:03 +00:00
J. Nick Koston eb26a2124b
Adjust remote ESPHome log subscription level on logging change (#139308) 2025-02-26 08:58:13 +01:00
J. Nick Koston 3ff04d6d04
Bump aioesphomeapi to 29.2.0 (#139309) 2025-02-26 03:14:58 +01:00
J. Nick Koston 81db3dea41
Add option to ESPHome to subscribe to logs (#139073) 2025-02-25 21:56:39 +01:00
Erik Montnemery e79a1a52c3
Adjust config entry state checks in esphome (#138914) 2025-02-20 09:08:46 +01:00
J. Nick Koston ee5e25aca6
Bump aioesphomeapi to 29.1.1 (#138827) 2025-02-18 21:14:38 -06:00
J. Nick Koston 0dc1151a25
Bump aioesphomeapi to 29.1.0 (#138742) 2025-02-17 17:08:38 -06:00
J. Nick Koston 28dd44504e
Bump aioesphomeapi to 29.0.2 (#138549)
changelog: https://github.com/esphome/aioesphomeapi/compare/v29.0.0...v29.0.2
2025-02-14 22:42:36 +02:00
Erik Montnemery f83c8de8d3
Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Marc Mueller 3984706459
Update bleak-esphome to 2.7.1 (#137354) 2025-02-04 15:03:09 -05:00
J. Nick Koston 1860794cac
Bump bleak-esphome to 2.7.0 (#137199)
changelog: https://github.com/Bluetooth-Devices/bleak-esphome/compare/v2.6.0...v2.7.0
2025-02-02 21:22:49 -05:00
J. Nick Koston 39a575dd29
Add missing brackets to ESPHome configuration URLs with IPv6 addresses (#137132)
fixes #137125
2025-02-01 21:02:10 -05:00
J. Nick Koston d43083e2f9
Set via_device for remote Bluetooth adapters to link to the parent device (#137091) 2025-02-01 12:10:59 -06:00
J. Nick Koston f8f12957b5
Bump bleak-esphome to 2.6.0 (#137025) 2025-01-31 12:15:31 -06:00
epenet a9433ca697
Standardize homeassistant imports in component (e-f) (#136824) 2025-01-29 11:36:22 +01:00
epenet b43379be7d
Standardize `helpers.xxx_registry` imports (#136688)
Standardize registry imports
2025-01-28 08:48:34 +01:00
J. Nick Koston 48a91540e1
Bump aioesphomeapi to 29.0.0 and bleak-esphome to 2.2.0 (#136684) 2025-01-27 19:04:46 -10:00
J. Nick Koston dcb17d03af
Bump bleak-esphome to 2.1.1 (#136277) 2025-01-22 20:36:31 +01:00
J. Nick Koston 18ab882536
Bump bleak-esphome to 2.1.0 (#136214) 2025-01-21 14:58:20 -10:00
J. Nick Koston 9868138fc4
Bump aioesphomeapi to 28.0.1 (#135869) 2025-01-17 11:53:29 -10:00
Marc Mueller abc256fb3e
Add overload for async singleton call with HassKey (#134059) 2025-01-17 19:22:48 +01:00
Joost Lekkerkerker ef8b8fbbaa
Enable RUF023 (#135830) 2025-01-17 12:28:27 +01:00
J. Nick Koston 6e255060c6
Add Bluetooth config entries for remote scanners (#135543) 2025-01-16 09:52:52 -10:00
epenet 27c2f2333e
Use new ServiceInfo location in esphome (#135692) 2025-01-16 13:40:13 +01:00
J. Nick Koston 4e5bf5ac22
Ensure ESPHome cleanups Bluetooth scanner data upon removal (#135470)
* Add bluetooth API to remove scanners that are no longer used

- Cleanup the advertisment history right away when a scanner is removed

In the future we will do some additional cleanup

* coverage

* finish tests

* Ensure ESPHome cleanups Bluetooth scanner data upon removal

needs https://github.com/home-assistant/core/pull/135408
2025-01-12 22:41:49 -05:00
J. Nick Koston b639466453
Bump bleak-esphome to 2.0.0 (#134580) 2025-01-04 11:30:41 +01:00
Omni Flux cf3d4eb26a
Respect ESPHome ClimateTrait supports_current_temperature (#132149) 2024-12-23 11:35:59 +01:00
epenet 7014317e9e
Cleanup unnecessary mired attributes in esphome (#132833)
* Cleanup unnecessary mired attributes in esphome

* Adjust
2024-12-10 15:29:33 +01:00
J. Nick Koston 909b13809e
Bump aioesphomeapi to 28.0.0 (#132447) 2024-12-05 21:23:24 -06:00
G Johansson 768c2b0f3d
Remove _enable_turn_on_off_backwards_compatibility A-F (#132417)
Remove _enable_turn_on_off_backwards_compatibility A-G
2024-12-05 21:46:59 +01:00
epenet 17afe1ae51
Remove deprecated supported features warning in FanEntity (#132369) 2024-12-05 20:32:59 +01:00
Joost Lekkerkerker 474544abd8
Make wake word selection part of configuration (#131832) 2024-11-28 13:45:51 +01:00
J. Nick Koston cf7acb5ae8
Bump aioesphomeapi to 27.0.3 (#131773) 2024-11-27 15:29:29 -08:00
Michael Hansen 46fe3dcbf1
Add wake word select for ESPHome Assist satellite (#131309)
* Add wake word select

* Fix linting

* Move to ESPHome

* Clean up and add more tests

* Update homeassistant/components/esphome/select.py

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-11-26 22:59:49 -05:00
Michael 70c8c57401
Dump ffmpeg stderr to ESPhome debug log (#130808)
* dump the stderr from ffmpeg to debug log

* add pid to indentify the ffmpeg process

* be more explosive :)

* move stderr task into _write_ffmpeg_data
2024-11-27 00:09:04 +01:00
J. Nick Koston 60cf797650
Bump aioesphomeapi to 27.0.2 (#131397)
Fixes for cancellation during Bluetooth connect

changelog: https://github.com/esphome/aioesphomeapi/compare/v27.0.1...v27.0.2

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-11-23 17:25:45 -08:00
Jesse Hills ba042e2325
Fix typo in ESPHome repair text (#131200) 2024-11-21 19:42:08 +01:00
Marcel van der Veldt 9bbf9be95f
Add optional flag to bypass the media proxy in esphome media players (#131191)
* Add optional flag to play_media to bypass media proxy

* use constants

* add test
2024-11-21 11:47:22 -05:00
Joost Lekkerkerker e6225e3dcc
Drop current quality scale (#131072) 2024-11-20 20:54:15 +01:00
Michael d8dd6d6abe
Fix unexpected stop of media playback via ffmpeg proxy for ESPhome devices (#130788)
disable writing progress stats to stderr in ffmpeg command
2024-11-17 01:58:25 +01:00
Jesse Hills a1f5e4f37a
Do not create ESPHome Dashboard update entity if no configuration found (#129751) 2024-11-15 17:22:06 +01:00
Markus ee30520b57
Fix esphome mqtt discovery by handling case where payload is a empty string (#129969)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-07 11:16:01 -06:00
Paulus Schoutsen 689260f581
Fix ESPHome dashboard check (#129812) 2024-11-04 17:37:14 +01:00
Jesse Hills 87ab2beddf
Only set ESPHome configuration url to addon if there is an existing configuration for the device (#129356)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-03 18:16:49 -06:00
epenet d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
J. Nick Koston f55aa0b86e
Bump aioesphomeapi to 27.0.1 (#129643) 2024-11-01 13:16:15 -05:00
epenet 602ec54579
Set config_entry explicitly to None in relevant components (#129427)
Set config_entry explicitly to None in components
2024-10-30 19:32:10 +01:00
Erik Montnemery b4e69bab71
Improve shutdown of esphome ffmpeg proxy (#129326)
* Improve shutdown of esphome ffmpeg proxy

* Add test
2024-10-30 13:46:05 +01:00
Robert Resch 380974eed4
Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper (#127228)
* Remove hassio from ALLOWED_USED_COMPONENTS

* Move HassioServiceInfo to helpers.service_info

* Deprecate moved functions

* Add note about deprecation

* Fix tests

* Implement suggestion

* Typo

* Update pyproject.toml

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-30 12:43:41 +01:00
Erik Montnemery ecbb417736
Report update_percentage in esphome update entity (#129376) 2024-10-29 17:51:54 +01:00
Erik Montnemery 56fb61bd6f
Refactor esphome ffmpeg proxy (#129330) 2024-10-29 16:26:32 +01:00
Michael Hansen dd9ce34d18
Allow a fixed number of ffmpeg proxy conversions per device (#129246)
Allow a fixed number of conversions per device
2024-10-28 13:26:43 -07:00
Erik Montnemery 2888e5748e
Fix ESPHome media proxy exit criteria (#129267) 2024-10-27 12:39:49 -05:00
Michael Hansen 0b4e3c3db5
Remove category from Assist satellite entities (#129172) 2024-10-25 18:43:42 +02:00
G Johansson cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum (#126283)
* Alarm state from enum

* Fixes

* Set final

* Fix rebase

* Test const

* Fix breaking version

* Fix other for alarm_control_panel

* Fix integrations

* More

* More

* More

* More

* Fix zha

* Replace _attr_state

* Fix alarm_control_panel

* Fix tests

* Fixes

* Mods

* Change some

* More

* More

* More

* Tests

* Last tests

* Return enum

* Fix zha

* Remove not needed check

* Fix wording

* Fix homekit

* Mod prometheus

* Fix mypy

* Fix homekit

* Fix ifttt
2024-10-21 22:54:27 +02:00
Michael Hansen f21c8d895f
Block until config is retrieved when adding satellite entity to HA (#128685)
Block until config is retrieved
2024-10-18 16:01:18 -04:00
Michael Hansen 1a9c6deb0d
Remove metadata and cover art using ffmpeg proxy conversion (#128603)
Remove metadata and cover art
2024-10-17 16:41:44 -04:00
Marc Mueller e6bc1f0730
Update bleak-esphome to 1.1.0 (#127692) 2024-10-06 03:20:04 +02:00
epenet a218f4adc3
Use reauth helpers in esphome config flow (#127419)
Use _get_reauth_entry in esphome config flow
2024-10-03 14:38:14 +02:00
Michael Hansen 40dbfab671
Run unsubscribe callbacks when Assist satellite entity is removed from HA (#127234)
* Unsubscribe when removed from HA

* Use builtin async_on_remove
2024-10-01 23:58:47 +02:00
Erik Montnemery 46480c5624
Store esphome flow data in flow handler attributes (#127170) 2024-10-01 11:10:38 +02:00
Michael Hansen fbeee11fd7
Don't log voice assistant config timeout error (#127010)
Don't log config timeout error
2024-09-28 18:46:01 -04:00
Michael Hansen 6373347d65
Adjust "Assist in progress" sensor in ESPHome (#126928)
Adjust sensor
2024-09-27 11:10:50 -04:00
Michael Hansen 9db5b481be
Fix ESPHome and VoIP Assist satellite entity names (#126229)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-26 20:22:09 +02:00
Sid 77642b9e3d
Bump ruff to 0.6.8 (#126842) 2024-09-26 19:13:08 +02:00