J. Nick Koston
1cf4a008c3
Add coverage for binary_sensor platform to esphome ( #95067 )
2023-06-22 19:55:28 +02:00
J. Nick Koston
ed55632a66
Add esphome fan platform tests and remove unreachable code ( #95025 )
2023-06-22 11:29:59 +02:00
J. Nick Koston
65a5244d5a
Fix race and add test coverage for esphome select platform ( #95019 )
2023-06-22 01:19:47 +02:00
J. Nick Koston
d369d679c7
Fix ESPHome entries reloading after startup when dashboard is in use ( #94362 )
2023-06-14 21:16:39 -10:00
Erik Montnemery
86f2aa84e5
Fix flaky ESPHome test fixture ( #94465 )
2023-06-12 16:59:11 +02:00
J. Nick Koston
88bfd94800
Add support for ESPHome raw bluetooth advertisements ( #94138 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-07 18:36:22 -05:00
Paulus Schoutsen
cd330a2740
Pass device ID to conversation input ( #93867 )
2023-05-31 16:56:12 -04:00
Jesse Hills
d7d9143a44
Add speech detection and conversation_id to esphome voice assistant ( #93578 )
...
* Add speech detection to esphome voice assistant
* Timeout after silence
Ensure events are sent before finish is called
* use va_version 3 instead of ESPHome version
* Convert repeated fixtures to factory
* Add some v3 tests
* Add conversation_id
* Bump aioesphomeapi to 13.8.0
* Fix missed buffering of detected chunk
* Alter log message
* Updates
* Spelling
* Fix return type
2023-05-30 19:49:22 -04:00
Erik Montnemery
a71c097aeb
Revert "Allow setting an entity's name by its device class" ( #93539 )
2023-05-25 17:20:54 +02:00
Erik Montnemery
67c1051305
Allow setting an entity's name by its device class ( #90767 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
Erik Montnemery
f8f7de5d5a
Remove homeassistant from conversation dependencies ( #92170 )
...
* Remove homeassistant from conversation dependencies
* Fix tests
2023-04-28 18:17:48 +02:00
Jesse Hills
32ed45084a
ESPHome voice assistant: Version 2 - Stream raw tts audio back to device for playback ( #92052 )
...
* Send raw audio back
* Update tests
* More tests
* Fix docstrings and remove unused patches
* More tests
* MORE
* Only set raw for v2
2023-04-26 22:24:29 -04:00
Paulus Schoutsen
ddc2807361
Fix capitalization names Assist entities ( #92098 )
...
* Fix capitalization names Assist entities
* Adjust names to be 'in progress'
* Update tests/components/esphome/test_binary_sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-26 22:13:21 -04:00
Jesse Hills
29ca43acf6
Set pipeline_id from pipeline select ( #92085 )
2023-04-27 10:29:08 +12:00
J. Nick Koston
ec5f50913a
Retry creating esphome update entities later if dashboard is unavailable ( #92042 )
2023-04-26 18:41:00 +02:00
Erik Montnemery
63f3767a29
Include UUID in hassio discovery data ( #91970 )
2023-04-25 09:48:47 +02:00
Jesse Hills
aeb19831d2
ESPHome select for assist pipeline selection ( #91526 )
...
* ESPHome: Add assist pipeline select entity
* Add translation strings
* Tests
2023-04-17 22:22:11 -04:00
Jesse Hills
8d201b205f
ESPHome binary sensor representing assist pipeline running ( #91406 )
...
* ESPHome binary sensor representing assist pipeline running
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Rename to call active
Simplify with attrs a little
* Load binary sensor if voice assistant on device
* Add some tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-17 19:52:37 -04:00
Jesse Hills
0ddccb26fa
ESPHome voice assistant ( #90691 )
...
* Add ESPHome push-to-talk
* Send pipeline events to device
* Bump aioesphomeapi to 13.7.0
* Log error instead of print
* Rename variable
* lint
* Rename
* Fix type and cast
* Move event data manipulation into voice_assistant callback
Process full url
* Add a test?
* Remove import
* More tests
* Update import
* Update manifest
* fix tests
* Ugh
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-13 19:18:56 -04:00
Jesse Hills
eb469d6a2f
Move enum mapper to own file to prevent circular dependency ( #90890 )
...
* Move enum_mapper to own file to prevent circular dependency
* Add enum mapper test
2023-04-05 22:55:51 -04:00
epenet
b94dffb7d3
Add missing mock in esphome tests ( #88923 )
2023-03-01 16:11:21 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
b9beed4624
Add type hints to integration tests (part 6) ( #87979 )
2023-02-13 09:45:11 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
Franck Nijhof
cc3ae5b19b
Mark ESPHome update entity unavailable when device is offline ( #87576 )
2023-02-07 22:15:54 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Paulus Schoutsen
ad87c4557d
Guard what version we can install ESPHome updates with ( #87059 )
...
* Guard what version we can install ESPHome updates with
* Update homeassistant/components/esphome/dashboard.py
2023-01-31 23:15:23 -05:00
Paulus Schoutsen
8417f22904
Trigger update of ESPHome update entity when static info updates ( #87058 )
...
Trigger update of update entity when static info updates
2023-01-31 22:13:41 -05:00
Paulus Schoutsen
d88849fb04
ESPHome handle remove password and no encryption ( #86995 )
...
* ESPHome handle remove password and no encryption
* Start reauth for invalid api password
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-01-30 23:05:48 -05:00
Paulus Schoutsen
98b4a412f7
ESPHome discovered dashboard checks reauth flows ( #86993 )
2023-01-30 21:32:52 -05:00
Paulus Schoutsen
2cdeb6f1cd
Check dashboard when showing reauth form ( #86980 )
2023-01-30 22:46:42 +01:00
Jesse Hills
78207121c0
Remove esphome password from config flow data if not needed ( #86763 )
...
* Remove esphome password if not needed
* Add test
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-01-26 21:45:51 -05:00
Paulus Schoutsen
8f10c22a23
Update ESPHome devices from HA ( #86249 )
...
* Update ESPHome devices from HA
* esphome-dashboard-api==1.2.2
* Limit to 1 parallel ESPHome update
2023-01-19 16:28:46 -05:00
Paulus Schoutsen
a83318f373
ESPHome dashboard tweaks ( #86176 )
2023-01-18 21:15:37 +01:00
Paulus Schoutsen
29337bc6eb
Reload ESPHome config entries when dashboard info received ( #86174 )
2023-01-18 17:59:55 +01:00
Paulus Schoutsen
c8cd41b5d4
Add ESPHome update entities ( #85717 )
2023-01-11 16:26:13 -05:00
Paulus Schoutsen
06bc9c7b22
Automatically fetch the encryption key from the ESPHome dashboard ( #85709 )
...
* Automatically fetch the encryption key from the ESPHome dashboard
* Also use encryption key during reauth
* Typo
* Clean up tests
2023-01-11 15:28:31 -05:00
Paulus Schoutsen
82ec769ec5
Handle ESPHome dashboard discovery ( #85662 )
2023-01-11 08:30:52 -05:00
J. Nick Koston
6b95fa5942
Fix bluetooth not being loaded with esphome proxies when removed from default_config ( #85032 )
...
* Fix bluetooth not being loaded with esphome proxies when removed from default_config
fixes #84960
* actually commit the conftest change
2023-01-02 21:10:39 -05:00
Paulus Schoutsen
d3df4dd3c1
ESPHome: Use MAC as unique ID ( #83741 )
...
* ESPHome: Use MAC as unique ID
* Normalize incoming zeroconf/dhcp macs
* Update comment
* Test ESPHome without mac in zeroconf
* Use format_mac
* Remove unique ID index from DomainData
2022-12-10 22:26:42 -05:00
J. Nick Koston
4a56461d3c
Fix reauth with esphome when adding noise encryption ( #83164 )
...
* Fix reauth with esphome when adding noise encryption
fixes #80813
* fix with unique id
2022-12-02 19:49:13 -05:00
J. Nick Koston
f0ae1cc6ce
Add bluetooth diagnostics to esphome ( #82761 )
2022-11-27 14:59:37 -05:00
J. Nick Koston
9a5bdaf87e
Ensure unique id is set for esphome when setup via user flow ( #77677 )
2022-09-01 14:10:20 -04:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Jesse Hills
f311d53c60
ESPHome use dhcp responses to update connection host of known devices ( #74206 )
...
* ESPHome use dhcp responses to update connection host of known devices
* Add test for dhcp
* Add another test to cover when there are no changes required
2022-06-30 10:07:03 -07:00
ollo69
0876239927
Do not redact diagnostics empty key ( #69160 )
2022-04-03 13:17:08 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Jesse Hills
cb2f5b5ed5
Add diagnostics download to ESPHome ( #65008 )
2022-01-26 14:35:41 -08:00
epenet
1d3fbc93a0
Update ZeroconfServiceInfo in tests (a-f) ( #60212 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06:00
J. Nick Koston
347c4ea137
Bump zeroconf to 0.37.0 ( #59932 )
2021-11-18 20:23:20 -08:00