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
epenet
b43379be7d
Standardize `helpers.xxx_registry` imports ( #136688 )
...
Standardize registry imports
2025-01-28 08:48:34 +01:00
epenet
af40b6524e
Use new ServiceInfo location in component tests (part 3) ( #136064 )
2025-01-20 13:16:59 +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
Erik Montnemery
ecb3bf79f3
Revert "Add support for subentries to config entries" ( #133470 )
...
Revert "Add support for subentries to config entries (#117355 )"
This reverts commit ad15786115
.
2024-12-18 13:51:05 +01:00
Erik Montnemery
ad15786115
Add support for subentries to config entries ( #117355 )
...
* Add support for subentries to config entries
* Improve error handling and test coverage
* Include subentry_id in subentry containers
* Auto-generate subentry_id and add optional unique_id
* Tweak
* Update tests
* Fix stale docstring
* Address review comments
* Typing tweaks
* Add methods to ConfigEntries to add and remove subentry
* Improve ConfigSubentryData typed dict
* Update test snapshots
* Adjust tests
* Fix unique_id logic
* Allow multiple subentries with None unique_id
* Add number of subentries to config entry JSON representation
* Add subentry translation support
* Allow integrations to implement multiple subentry flows
* Update translations schema
* Adjust exception text
* Change subentry flow init step to user
* Prevent creating a subentry with colliding unique_id
* Update tests
* Address review comments
* Remove duplicaetd unique_id collision check
* Remove change from the future
* Improve test coverage
* Add default value for unique_id
2024-12-12 20:16:18 +01:00
epenet
37f2bde6f5
Migrate esphome light tests to use Kelvin ( #133008 )
2024-12-12 15:11:34 +01: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
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
Petar Petrov
c68cadad7a
Improve precision of HSV color conversion ( #130880 )
2024-11-19 22:06:57 +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
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
79d73c28a7
Deduplicate wav creation in esphome ffmpeg_proxy tests ( #129484 )
2024-10-30 10:35:19 +01:00
Erik Montnemery
3fb0d61271
Remove useless code from esphome ffmpeg_proxy tests ( #129481 )
2024-10-30 09:56:12 +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
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
Erik Montnemery
e861cab727
Add update_percentage state attribute to update entity ( #128877 )
...
* Add update_percentage state attribute to update entity
* Update tests
* Update tests
2024-10-21 15:31:48 +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
G Johansson
666e8e133e
Cover state is enum ( #127144 )
...
* Change light state to use enum
* Adjust cover tests
* Update cover
* Fix covers
* Some tests
* More tests
* Fix tests
* Fix
2024-10-08 18:39:04 +02:00
Michael Hansen
bd4f3b0553
Change Assist satellite state names ( #126926 )
...
* Change state names
* Update homeassistant/components/assist_satellite/strings.json
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-27 11:11:23 -04:00
Paulus Schoutsen
471c68f653
Update the Selected Pipeline entity name ( #126845 )
2024-09-26 20:38:51 +02: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
G Johansson
c6a1b9fc39
Change Climate set temp action for incorrect feature will raise ( #126692 )
...
* Change Climate set temp action for incorrect feature will raise
* Fix some tests
* Fix review comments
* Fix tesla_fleet
* Fix tests
* Fix review comment
2024-09-25 21:16:14 +02:00
G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
G Johansson
711e0ee503
Change camera state to an enum ( #126558 )
...
* Change camera state to an enum
* copy/paste mistake
* Add test deprecated constants
2024-09-24 12:12:01 +02:00
Michael Hansen
4869309997
Get updated Assist satellite config after setting it in ESPHome ( #126552 )
...
Get updated config after setting it
2024-09-23 20:36:53 -04:00
Erik Montnemery
d82bff1bc2
Index config entry discovery_keys by discovery domain ( #126563 )
...
* Index config entry discovery_keys by discovery domain
* Add new signal
* Update tests
* Update homeassistant/config_entries.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix imports
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 21:48:11 +02:00
Erik Montnemery
b2982c18bb
Reinitialize zeroconf discovery flow on unignore ( #125753 )
...
* Reinitialize zeroconf discovery flow on unignore
* Adjust tests
* Improve comments
* Fix logic for updating discovery keys
* Add tests
* Use mock_config_flow helper in new config_entries test
* Add discovery_keys attribute to ConfigEntry
* Update zeroconf rediscovery
* Change type of ConfigEntry.discovery_keys
* Update tests
* Fix DiscoveryKey.from_json_dict and add tests
* Fix test
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 16:49:21 +02:00
G Johansson
939f2e41e9
Change valve state to an enum ( #126428 )
2024-09-23 14:20:18 +02:00
Erik Montnemery
0fc7bc2762
Fix a couple of stale ESPHome docstrings ( #126508 )
2024-09-23 14:19:17 +02:00
Erik Montnemery
6cd99e4ed4
Add issue asking users to disable ESPHome assist_in_progress sensor ( #125805 )
...
* Add issue asking users to disable ESPHome assist_in_progress binary sensor
* Include integration name in title and description
* Add repair flow
* Improve test coverage
2024-09-21 17:14:12 -04:00
Michael Hansen
123b6b687e
Route non-TTS media through ESPHome ffmpeg proxy ( #126287 )
...
* Route non-TTS media through proxy
* Use media_id_source
2024-09-20 13:57:55 -04:00
Michael Hansen
d1a4838802
Allow one reusable proxy URL per ESPHome device ( #125845 )
...
* Allow one reusable URL per device
* Move process to convert info
* Stop previous process
* Change to 404
* Better error handling
2024-09-19 00:05:09 -04:00
Michael Hansen
6eab5e3e14
Add ESPHome Assist satellite configuration ( #126085 )
...
* Basic implementation
* Add websocket commands
* Clean up
* Add callback to other signatures
* Remove unused constant
* Re-add callback
* Add callback to test
* Implement get/set configuration
* Add tests
* Re-add constant
* Bump aioesphomeapi
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-16 22:08:39 -05:00
epenet
02cb6a6af7
Force root import of references from other components ( #125816 )
...
* Force root import of references from other components
* Improve
* Adjust
* Tweak exceptions
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Adjust
* More
* Ignore violations in test
* Improve
2024-09-16 11:28:42 +02:00
Michael Hansen
3dd6418160
Use sample bytes in ESPHome media format ( #126016 )
2024-09-16 10:10:07 +02:00
epenet
7df224f382
Use root import in assist_satellite imports ( #126025 )
2024-09-16 10:05:34 +02:00
Michael Hansen
3eed5de367
Handle announcement finished for ESPHome TTS response ( #125625 )
...
* Handle announcement finished for TTS response
* Adjust test
2024-09-13 16:31:38 -04:00
Michael Hansen
cabaf37437
Bump aioesphomeapi and adjust handle_stop ( #125907 )
...
* Bump aioesphomeapi and adjust handle_stop
* Stop audio stream too
* Update homeassistant/components/esphome/assist_satellite.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-13 16:05:11 -04:00
Erik Montnemery
e89b258970
Disable ESPHome assist_in_progress binary sensor ( #125802 )
2024-09-12 09:07:01 +02:00
Michael Hansen
c01bdd860a
Unload assist satellite platform on disconnect ( #125697 )
2024-09-10 20:50:22 -04:00
Michael Hansen
1dc496a2dd
Add announce support to ESPHome Assist Satellite platform ( #125157 )
...
Rebuild
2024-09-09 08:25:25 -04:00
Michael Hansen
8884465262
ESPHome media proxy ( #123254 )
...
* Add ffmpeg proxy view
* Add tests
* Add proxy to media player
* Add proxy test
* Only allow one ffmpeg proc per device
* Incorporate feedback
* Fix tests
* address comments
* Fix test
* Update paths without auth const
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-08 22:22:35 -04:00
Michael Hansen
ee59303d3c
Use first media player announcement format for TTS ( #125237 )
...
* Use ANNOUNCEMENT format from first media player for tts
* Fix formatting
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-06 10:57:09 -05:00
Paulus Schoutsen
f126a6024e
Migrate ESPHome to assist satellite ( #125383 )
...
* Migrate ESPHome to assist satellite
* Address comments
2024-09-06 10:48:42 -04:00