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
J. Nick Koston
978aafdd09
Update esphome bluetooth client for python 3.11 ( #86480 )
2023-01-23 21:36:19 +01:00
J. Nick Koston
aac89a3493
Bump recommended esphome version for bluetooth proxies to 2022.12.4 ( #86308 )
...
This will fix an MTU issue reported with airthings and
other devices.
needs https://github.com/esphome/esphome/pull/4323
2023-01-22 00:05:06 +02: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
Aarni Koskela
c0d9dcdb3f
Fix docstring in esphome.bluetooth.client ( #86226 )
2023-01-19 15:21:32 +01:00
GitHub Action
d1ecc418bb
[ci skip] Translation update
2023-01-19 00:25:04 +00: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
Franck Nijhof
382e1ac679
Code styling tweaks to the ESPHome integration ( #86146 )
2023-01-18 11:10:16 +01:00
epenet
9205020fa4
Avoid import homeassistant.const as a module ( #85991 )
2023-01-16 16:49:49 +01:00