Jesse Hills
bb39b99a3f
ESPHome fix changing light color_mode ( #93434 )
2023-05-24 08:37:42 +02:00
epenet
dad3fbf5e2
Fix lingering timer in esphome ( #92533 )
2023-05-17 22:05:44 +02:00
J. Nick Koston
64623283b2
Bump aioesphomeapi to 13.7.5 ( #93121 )
...
performance improvements
changelog: https://github.com/esphome/aioesphomeapi/compare/v13.7.4...v13.7.5
2023-05-15 22:24:17 +03:00
J. Nick Koston
cdc4b315e5
Bump aioesphomeapi to 3.7.4 to fix proxied BLE connections not retrying right away on error ( #92741 )
2023-05-08 18:56:06 +02:00
J. Nick Koston
3f630493ff
Allow duplicate state updates when force_update is set on an esphome sensor ( #92553 )
...
* Allow duplicate states when force_update is set on an esphome sensor
fixes #91221
* Update homeassistant/components/esphome/entry_data.py
Co-authored-by: pdw-mb <pdw@mythic-beasts.com>
---------
Co-authored-by: pdw-mb <pdw@mythic-beasts.com>
2023-05-04 22:21:42 -04:00
J. Nick Koston
785faf4380
Bump aioesphomeapi to 13.7.3 to fix disconnecting while handshake is in progress ( #92537 )
...
Bump aioesphomeapi to 13.7.3
fixes #92432
2023-05-04 22:18:20 -04: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
J. Nick Koston
5f1fc3259c
Bump aioesphomeapi to 13.7.2 ( #92027 )
2023-04-26 09:12:52 +02:00
J. Nick Koston
458276a6a6
Bump aioesphomeapi to 13.7.1 ( #91783 )
...
changelog: https://github.com/esphome/aioesphomeapi/compare/v13.7.0...v13.7.1
2023-04-20 16:36:11 -10:00
J. Nick Koston
c407fb0861
Bump recommended esphome version to 2023.4.0 for bluetooth ( #91509 )
2023-04-20 15:36:12 -10:00
Erik Montnemery
090f59aaa2
Make context a mandatory parameter for async_pipeline_from_audio_stream ( #91658 )
2023-04-19 09:30:29 -04: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
42b0602190
ESPHome: Use existing property with generated signal string ( #91525 )
2023-04-16 18:37:12 -10:00
J. Nick Koston
4420201fe6
Use bluetooth data tools for address conversion in esphome ( #91443 )
2023-04-16 11:55:08 -10: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
J. Nick Koston
87c22c3ad5
Fix state being cleared on disconnect with deep sleep esphome devices ( #90925 )
...
* Fix state being cleared on disconnect with deep sleep esphome devices
fixes #90923
* fix logic
2023-04-06 16:32:02 -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
J. Nick Koston
02c749a111
Bump aioesphomeapi to 10.6.1 ( #90816 )
2023-04-04 17:22:01 -10:00
J. Nick Koston
c566303edb
Avoid writing state to all esphome entities at shutdown ( #90555 )
2023-03-31 18:23:05 +02:00
Alexander Momchilov
abe60375b3
Disable esphome stopping a cover if the cover doesn't support stopping ( #80104 )
...
* Make "CoverEntityFeature.STOP" conditional
* Check APIVersion before checking false by default flag
* sort
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-28 16:43:47 +02:00
J. Nick Koston
6a5c05e7d2
Add support for clearing the on device GATT cache to esphome ( #90318 )
2023-03-27 09:34:28 +02:00
J. Nick Koston
65e46e3261
Bump aioesphomeapi to 13.6.0 ( #90330 )
2023-03-26 12:58:07 -10:00
J. Nick Koston
a7c796a2f7
Ensure esphome connected future is awaited when connecting is canceled ( #90329 )
2023-03-26 12:30:00 -10:00
J. Nick Koston
8c9966aa05
Ensure esphome subscribes to bluetooth connection free before accepting connect requests ( #90319 )
2023-03-26 22:06:14 +02:00
epenet
f56bf134d2
Improve browse_media type hints in media player ( #90060 )
...
* Improve browse_media type hints in media player
* Adjust components
* Adjust base entity
2023-03-24 21:49:12 -07:00
J. Nick Koston
0303618705
Handle cancelation of wait_for_ble_connections_free in esphome bluetooth ( #90014 )
...
Handle cancelation in wait_for_ble_connections_free
If `wait_for_ble_connections_free` was canceled due to timeout or
the esp disconnecting from Home Assistant the future would get
canceled. When we reconnect and get the next callback we need
to handle it being done.
fixes
```
2023-03-21 02:34:36.876 ERROR (MainThread) [homeassistant] Error doing job: Fatal error: protocol.data_received() call failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 868, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/_frame_helper.py", line 195, in data_received
self._callback_packet(msg_type_int, bytes(packet_data))
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/_frame_helper.py", line 110, in _callback_packet
self._on_pkt(Packet(type_, data))
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 688, in _process_packet
handler(msg)
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 482, in on_msg
on_bluetooth_connections_free_update(resp.free, resp.limit)
File "/usr/src/homeassistant/homeassistant/components/esphome/entry_data.py", line 136, in async_update_ble_connection_limits
fut.set_result(free)
asyncio.exceptions.InvalidStateError: invalid state
```
2023-03-20 23:49:59 -04:00
J. Nick Koston
49f08ad71d
Filter out duplicate updates in esphome state dispatch ( #89779 )
2023-03-20 20:04:46 +01:00
J. Nick Koston
c3043fb0ee
Bump bluetooth deps for bleak 0.20 ( #89925 )
...
Co-authored-by: K <z@kwi.li>
2023-03-20 12:06:15 +01:00
J. Nick Koston
c707ddbf7c
Bump aioesphomeapi to 13.5.1 ( #89777 )
2023-03-15 20:00:47 -10:00
epenet
ff2a88b426
Bump ruff to 0.0.254 ( #89273 )
2023-03-07 13:25:31 +01:00
J. Nick Koston
ee89922c1b
Add support for bluetooth pairing in esphome ( #88603 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-06 14:24:35 -10:00
J. Nick Koston
5ccaa549d1
Bump aioesphomeapi to 13.5.0 ( #89262 )
2023-03-06 14:04:10 -10:00
J. Nick Koston
83fa4c6c60
Bump aioesphomeapi to 13.4.2 ( #89210 )
2023-03-06 18:49:54 +01:00
epenet
eebcf70b41
Re-enable Ruff D411 ( #89035 )
2023-03-02 13:01:05 -05:00
J. Nick Koston
ee7dfdae30
Bump aioesphomeapi to 13.4.1 ( #88703 )
...
changelog: https://github.com/esphome/aioesphomeapi/releases/tag/v13.4.1
2023-02-24 11:09:12 -05:00
Michael Muré
d14000f704
Add esphome climate quiet fan mode ( #74303 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-21 11:09:41 -06:00
Jesse Hills
6da524b378
ESPHome: Add additional field for current temperature precision ( #88464 )
2023-02-20 09:54:40 +01:00
Franck Nijhof
d3ed8de232
Update Ruff to v0.0.247 ( #88210 )
...
* Update Ruff to v0.0.247
* Fix new found violations
2023-02-15 16:46:03 -05:00
J. Nick Koston
ae06d9fd5c
Bump aioesphomeapi to 13.3.1 ( #87969 )
...
* Bump aioesphomeapi to 13.3.0
We probably need to include https://github.com/esphome/aioesphomeapi/pull/382
as well in another bump
* bump
2023-02-13 09:07:56 -05:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
78c9b70c8d
Sort manifests 3 ( #87024 )
2023-02-08 20:19:19 +01:00
Franck Nijhof
cc3ae5b19b
Mark ESPHome update entity unavailable when device is offline ( #87576 )
2023-02-07 22:15:54 +01:00
Marc Mueller
342b406dc0
Add Self typing (1) [mypy 1.0] ( #87598 )
2023-02-06 22:29:47 -06:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
ce79b26ab6
[ci skip] Translation update
2023-02-03 00:25:31 +00:00
epenet
bd6a4d10ea
Use try_parse_enum in integrations ( #87085 )
2023-02-02 12:34:01 +01:00