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
GitHub Action
0f80932709
[ci skip] Translation update
2023-02-02 00:25:01 +00: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
1c4ba61725
Bump ESPHome Dashboard API 1.2.3 ( #86997 )
2023-01-31 00:05:59 -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
GitHub Action
b82ecfdd28
[ci skip] Translation update
2023-01-30 00:21:11 +00:00
GitHub Action
0f6f63da64
[ci skip] Translation update
2023-01-29 00:26:29 +00:00
GitHub Action
072f228e4d
[ci skip] Translation update
2023-01-28 00:23:36 +00: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
687184138c
ESPHome update: Store reference to runtime data, not one of its values ( #86762 )
...
Store reference to runtime data, not one of its values
2023-01-26 21:45:42 -05:00
GitHub Action
7ab88fa713
[ci skip] Translation update
2023-01-26 00:23:39 +00:00
Jesse Hills
d0b67689e0
Add issue to ESPHome deprecating api password ( #86606 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-25 11:07:57 +01:00