dougiteixeira
34e9c29ef2
Esphome text sensor device class ( #111057 )
2024-02-25 16:56:52 -10:00
dougiteixeira
c8ec66fcbe
Bump aioesphomeapi to 22.1.0 ( #111435 )
2024-02-25 14:58:37 -10:00
J. Nick Koston
fb7da1ba83
Simplify ESPHome entity removal process ( #111076 )
2024-02-22 11:39:53 -10:00
J. Nick Koston
fd1f712d67
Bump esphome dependencies ( #110892 )
2024-02-19 10:38:28 +01:00
J. Nick Koston
9b1ba19354
Bump aioesphomeapi to 21.0.3 ( #110772 )
2024-02-17 11:09:10 +01:00
J. Nick Koston
88086dfa0c
Bump aioesphomeapi to 21.0.2 ( #109824 )
2024-02-06 21:01:10 +01:00
G Johansson
9831da34ce
Add new climate feature flags to esphome ( #109428 )
2024-02-04 14:57:26 +01:00
J. Nick Koston
5bda4be88f
Remove useless _handle_pipeline_event function in ESPHome ( #109484 )
2024-02-03 14:15:56 +01:00
Michael Hansen
3347a3f8a6
More thorough checks in ESPHome voice assistant UDP server ( #109394 )
...
* More thorough checks in UDP server
* Simplify and change to stop_requested
* Check transport
2024-02-02 21:26:44 -05:00
Jan-Philipp Benecke
95aea1488d
Add pylint plugin to check if coordinator is placed in its own module ( #108174 )
...
* Add pylint plugin to check if coordinator is placed in its own module
* Remove unintended changes
* Remove pylint disable and let CI only fail on W,E,F
* Make check conventional
* Apply review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use option instead
* Remove pylint arguments from pre-commit
* Partially revert "Remove pylint disable and let CI only fail on W,E,F"
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-29 10:30:19 +01:00
J. Nick Koston
3447e7fddb
Fix ESPHome color modes for older firmwares ( #108870 )
2024-01-25 10:18:53 -10:00
J. Nick Koston
d588ec8202
Fix ESPHome not fully removing entities when entity info changes ( #108823 )
2024-01-24 17:29:11 -10:00
J. Nick Koston
9811930470
Use new config entry update/abort helper in esphome ( #108672 )
2024-01-22 22:11:38 +01:00
J. Nick Koston
2c6aa80bc7
Use more shorthand attributes in ESPHome fans ( #107923 )
2024-01-13 15:28:43 -05:00
J. Nick Koston
5a198e05ad
Small cleanups to ESPHome ( #107924 )
...
- Remove unused variables
- Remove unneeded static info lookups
2024-01-13 15:27:58 -05:00
J. Nick Koston
1cf96a6558
Remove useless _update function in ESPHome ( #107927 )
...
This function is never overwritten so we can remove it
2024-01-13 19:39:27 +01:00
J. Nick Koston
d609344f40
Reduce duplicate code in ESPHome connection callback ( #107338 )
2024-01-08 09:10:58 +01:00
J. Nick Koston
901b9365b4
Small cleanups to ESPHome callbacks ( #107428 )
2024-01-07 07:39:33 -10:00
Paulus Schoutsen
f1d2868fd0
Add API to fetch Assist devices ( #107333 )
...
* Add API to fetch Assist devices
* Revert some changes to fixture, make a single fixture for an Assist device
2024-01-05 23:30:18 -05:00
J. Nick Koston
81458dbf6f
Add test coverage for ESPHome state subscription ( #107045 )
2024-01-05 19:51:49 +01:00
J. Nick Koston
9c69212ad5
Add test coverage for ESPHome service calls ( #107042 )
2024-01-04 09:37:56 +01:00
J. Nick Koston
4f213f6df3
Fix first ESPHome device update entity not offering install feature ( #106993 )
...
In the case where the user gets their first ESPHome device such as a RATGDO,
they will usually add the device first in HA, and than find the dashboard.
The install function will be missing because we do not know if the dashboard
supports updating devices until the first device is added. We now set the
supported features when we learn the version when the first device is added
2024-01-03 19:58:04 -05:00
J. Nick Koston
8d2ddb6a04
Small cleanups to ESPHome light platform ( #107003 )
...
- Remove unreachable code
- Cache filtering when possible
- Add missing coverage
2024-01-03 19:53:48 -05:00
J. Nick Koston
01d0031e09
Fix ESPHome service removal when the device name contains a dash ( #107015 )
...
* Fix ESPHome service removal when the device name contains a dash
If the device name contains a dash the service name is mutated to
replace the dash with an underscore, but the remove function did
not do the same mutation so it would fail to remove the service
* add more coverage
* more cover
2024-01-03 19:47:49 -05:00
J. Nick Koston
e40faf957e
Bump bleak-esphome to 0.4.1 ( #106832 )
2024-01-02 11:37:18 +01:00
J. Nick Koston
e50fe79911
Update habluetooth to 2.0.0 ( #106145 )
2023-12-20 20:37:39 -10:00
J. Nick Koston
e2314565bb
Fix ESPHome Bluetooth diagnostics ( #106151 )
2023-12-20 18:33:43 -10:00
J. Nick Koston
5722b4a1ce
Break out the ESPHome Bluetooth scanner connection logic into bleak-esphome ( #105908 )
2023-12-20 13:36:37 -10:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
J. Nick Koston
97a14f6b6c
Bump aioesphomeapi to 21.0.1 ( #106079 )
2023-12-19 11:43:00 -10:00
J. Nick Koston
67d903ca99
Remove bluetooth-data-tools dep from ESPHome ( #105912 )
2023-12-17 09:18:20 -10:00
J. Nick Koston
9490da830c
Bump bleak-esphome to 0.4.0 ( #105909 )
2023-12-17 06:15:55 -10:00
J. Nick Koston
89513efd8d
Refactor ESPHome Bluetooth connection logic to prepare for esphome-bleak ( #105747 )
2023-12-17 04:42:28 -10:00
J. Nick Koston
34c7685927
Bump bleak-esphome to 0.3.0 ( #105748 )
2023-12-14 10:27:52 -10:00
J. Nick Koston
8d1a69ae84
Migrate ESPHome bleak implementation to bleak-esphome library ( #105611 )
2023-12-14 07:21:31 -10:00
J. Nick Koston
7e1dc2286f
Bump bluetooth-data-tools to 1.18.0 ( #105685 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.17.0...v1.18.0
2023-12-14 16:12:52 +01:00
J. Nick Koston
5dbd0dede1
Refactor Bluetooth scanners to avoid the need to pass a callback ( #105607 )
2023-12-13 09:17:48 +01:00
J. Nick Koston
22f0e09b8c
Bump aioesphomeapi to 21.0.0 ( #105609 )
2023-12-12 15:20:05 -10:00
J. Nick Koston
98b1bc9bed
Bump aioesphomeapi to 20.1.0 ( #105602 )
2023-12-12 12:51:18 -10:00
J. Nick Koston
f002a6a732
Refactor all Bluetooth scanners to inherit from BaseHaRemoteScanner ( #105523 )
2023-12-12 21:28:43 +01:00
J. Nick Koston
54d314d1d0
Bump aioesphomeapi to 20.0.0 ( #105586 )
...
changelog: https://github.com/esphome/aioesphomeapi/compare/v19.3.1...v20.0.0
- Add happy eyeballs support (RFC 8305) (#789 )
Note that nothing much happens yet on the HA side since
we only pass one IP in so its always going to fallback
at this point
2023-12-12 08:41:50 -10:00
Tucker Kern
ff21c02cb6
Add preset modes to ESPHome fan entities ( #103781 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-06 06:53:52 -10:00
J. Nick Koston
2401a09600
Bump aioesphomeapi to 19.3.0 ( #105114 )
2023-12-06 08:13:35 +01:00
J. Nick Koston
c8bb72935d
Bump bluetooth-data-tools to 1.17.0 ( #104935 )
2023-12-03 08:53:17 -10:00
J. Nick Koston
dd9c22672a
Refactor bluetooth scanners for better seperation of concerns ( #104909 )
2023-12-02 13:20:06 -10:00
Marc Mueller
559e8dfc69
Improve decorator type annotations [esphome] ( #104878 )
2023-12-02 06:57:58 -10:00
J. Nick Koston
970751a635
Bump bluetooth-data-tools to 0.16.0 ( #104854 )
2023-12-01 04:44:58 -07:00
Michael Hansen
d793203163
Skip TTS when text is empty ( #104741 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-30 01:31:27 +01:00
Stefan Rado
c6c8bb6970
Bump aioesphomeapi to 19.2.1 ( #104703 )
2023-11-29 15:20:40 +01:00
Stefan Rado
d9c0acc1d2
Partially revert #103807 : Remove deprecated aux heat support from ESPHome climate entities ( #104694 )
2023-11-29 04:45:15 -06:00
Stefan Rado
017d05c03e
Add humidity and aux heat support to ESPHome climate entities ( #103807 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-29 17:57:30 +13:00
J. Nick Koston
3c25d95481
Bump aioesphomeapi to 19.2.0 ( #104677 )
2023-11-29 16:57:39 +13:00
J. Nick Koston
de3b608e78
Remove BLE connection state unsubscribe workaround from ESPHome ( #104674 )
...
aioesphomeapi now has explict coverage to ensure calling
the unsubscribe function after the connection drops is safe
and will not raise anymore
2023-11-28 23:38:00 +01:00
J. Nick Koston
93aa31c835
Bump aioesphomeapi to 19.1.7 ( #104644 )
...
* Bump aioesphomeapi to 19.1.5
changelog: https://github.com/esphome/aioesphomeapi/compare/v19.1.4...v19.1.5
- Removes the need to watch for BLE connection drops with a seperate
future as the library now raises BluetoothConnectionDroppedError when
the connection drops during a BLE operation
* reduce stack
* .6
* tweak
* 19.1.7
2023-11-28 21:51:35 +01:00
J. Nick Koston
e048ad5a62
Bump aioesphomeapi to 19.1.4 ( #104629 )
2023-11-28 08:20:04 +01:00
J. Nick Koston
7d45227a59
Bump aioesphomeapi to 19.1.3 ( #104628 )
...
- small fix for aioesphomeapi-discover
- 100% line coverage for the library
- fix not backing off on encryption errors (fixes #104624 )
changelog: https://github.com/esphome/aioesphomeapi/compare/v19.1.1...v19.1.3
2023-11-27 19:48:29 -06:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Jesse Hills
95c771e330
Send esphome tts_stream event after audio bytes are actually loaded into memory ( #104448 )
...
Send tts_stream event after audio bytes are actually loaded into memory
2023-11-27 09:00:39 +01:00
J. Nick Koston
7fbf68fd11
Bump aioesphomeapi to 19.1.1 ( #104569 )
...
- Fixes races in bluetooth connections
- The client now has 100% coverage
- The library is approaching ~100% coverage
- Minor performance improvement
changelog: https://github.com/esphome/aioesphomeapi/compare/v19.1.0...v19.1.1
coverage: https://app.codecov.io/gh/esphome/aioesphomeapi/tree/main
2023-11-27 08:56:06 +01:00
J. Nick Koston
06b74249f7
Bump aioesphomeapi to 19.1.0 ( #104557 )
2023-11-26 19:48:35 +01:00
J. Nick Koston
498bea09f2
Bump aioesphomeapi to 19.0.1 ( #104527 )
2023-11-25 15:46:19 -06:00
J. Nick Koston
fc5ae50e06
Bump aioesphomeapi to 19.0.0 ( #104512 )
2023-11-25 14:00:04 -06:00
J. Nick Koston
df37ee4033
Remove chatty ESPHome state debug logging ( #104477 )
2023-11-25 10:41:51 +01:00
J. Nick Koston
b94c9c8f6d
Bump bluetooth-data-tools to 1.15.0 ( #104480 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.14.0...v1.15.0
2023-11-25 08:21:25 +01:00
J. Nick Koston
4860daf1f9
Bump aioesphomeapi to 18.5.9 ( #104465 )
2023-11-24 17:29:19 -06:00
J. Nick Koston
b24fa4839d
Bump aioesphomeapi to 18.5.7 ( #104426 )
2023-11-23 22:59:51 +01:00
J. Nick Koston
a59076d140
Speed up ESPHome connection setup ( #104304 )
2023-11-22 23:27:17 +01:00
J. Nick Koston
59469828f1
Bump aioesphomeapi to 18.5.6 ( #104341 )
2023-11-22 08:43:52 +01:00
J. Nick Koston
29ac3a8f66
Fix memory leak in ESPHome disconnect callbacks ( #104149 )
2023-11-21 07:58:22 +01:00
J. Nick Koston
af6f451cc0
Bump aioesphomeapi to 18.5.5 ( #104285 )
2023-11-21 07:48:05 +01:00
J. Nick Koston
a9384d6d4f
Fix ESPHome BLE client raising confusing error when not connected ( #104146 )
2023-11-20 10:08:44 +01:00
J. Nick Koston
7160e956a6
Bump aioesphomeapi to 18.5.4 ( #104187 )
...
This is mostly to clean up duplicate code in the lib, but it will
also make connecting just a tiny bit faster
We have reached over ~83% coverage in the library now
2023-11-19 22:27:44 -05:00
J. Nick Koston
0d2bcc0192
Bump aioesphomeapi to 18.5.3 ( #104141 )
2023-11-17 17:16:44 -06:00
J. Nick Koston
cd27b0e961
Bump aioesphomeapi to 18.5.2 ( #104113 )
2023-11-17 12:59:14 +01:00
J. Nick Koston
ef5c9c2187
Bump aioesphomeapi to 18.5.1 ( #104085 )
...
* Bump aioesphomeapi to 18.5.0
changelog: https://github.com/esphome/aioesphomeapi/compare/v18.4.0...v18.5.0
* one more
2023-11-16 17:13:13 -05:00
J. Nick Koston
3f11bb5f62
Speed up connecting to ESPHome devices ( #104018 )
2023-11-15 10:28:49 +01:00
J. Nick Koston
48a8ae4df5
Bump aioesphomeapi to 18.4.0 ( #103817 )
2023-11-11 18:27:49 -06:00
J. Nick Koston
a06fabfbc6
Bump aioesphomeapi to 18.3.0 ( #103730 )
...
changelog: https://github.com/esphome/aioesphomeapi/compare/v18.2.7...v18.3.0
2023-11-10 07:30:31 +01:00
J. Nick Koston
78add0f51d
Bump aioesphomeapi to 18.2.7 ( #103676 )
2023-11-09 08:47:37 +01:00
J. Nick Koston
2a80164508
Bump aioesphomeapi to 18.2.4 ( #103552 )
2023-11-07 11:22:41 +01:00
Michael Hansen
ae516ffbb5
Automatically convert TTS audio to MP3 on demand ( #102814 )
...
* Add ATTR_PREFERRED_FORMAT to TTS for auto-converting audio
* Move conversion into SpeechManager
* Handle None case for expected_extension
* Only use ATTR_AUDIO_OUTPUT
* Prefer MP3 in pipelines
* Automatically convert to mp3 on demand
* Add preferred audio format
* Break out preferred format
* Add ATTR_BLOCKING to allow async fetching
* Make a copy of supported options
* Fix MaryTTS tests
* Update ESPHome to use "wav" instead of "raw"
* Clean up tests, remove blocking
* Clean up rest of TTS tests
* Fix ESPHome tests
* More test coverage
2023-11-06 15:26:00 -05:00
J. Nick Koston
8ef3cf2e18
Bump bluetooth-data-tools to 0.14.0 ( #103413 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.13.0...v1.14.0
2023-11-05 07:07:44 -06:00
J. Nick Koston
6ea5af7575
Bump aioesphomeapi to 18.2.1 ( #103156 )
2023-11-01 08:56:48 +01:00
Jesse Hills
4838b2dee6
ESPHome: Add suggested_area from device info ( #102834 )
2023-10-26 09:19:31 +02:00
Jesse Hills
ad692f3341
ESPHome Text entities ( #102742 )
2023-10-24 23:14:58 -05:00
J. Nick Koston
80b3fec675
Bump aioesphomeapi to 18.0.12 ( #102626 )
...
changelog: https://github.com/esphome/aioesphomeapi/compare/v18.0.11...v18.0.12
2023-10-24 08:35:59 -05:00
J. Nick Koston
4c8a919ca3
Bump aioesphomeapi to 18.0.11 ( #102603 )
2023-10-23 15:46:05 -05:00
J. Nick Koston
4bf0d6e536
Bump aioesphomeapi to 18.0.10 ( #102545 )
2023-10-22 09:20:49 -10:00
J. Nick Koston
215febc912
Bump aioesphomeapi to 18.0.9 ( #102509 )
2023-10-21 20:17:22 -10:00
J. Nick Koston
6f2245bba3
Bump aioesphomeapi to 18.0.8 ( #102493 )
2023-10-21 16:51:12 -10:00
J. Nick Koston
0bd416e53d
Bump aioesphomeapi to 18.0.7 ( #102399 )
2023-10-20 08:00:55 -10:00
J. Nick Koston
22de378d91
Bump bluetooth-data-tools to 1.13.0 ( #102208 )
2023-10-18 08:54:17 -10:00
J. Nick Koston
cfb88766c7
Bump aioesphomeapi to 18.0.6 ( #102195 )
2023-10-17 21:31:40 -10:00
Michael Hansen
474f4329bc
Don't warn about unknown pipeline events in ESPHome ( #102174 )
...
Don't warn about unknown events (debug)
2023-10-17 11:57:08 -04:00
Jesse Hills
16c5a12c87
Send events for tts stream start/end ( #102139 )
2023-10-17 19:46:25 +13:00
J. Nick Koston
88296c1998
Migrate ESPHome unique ids to new format ( #99451 )
2023-10-15 17:05:20 -10:00
J. Nick Koston
17c9d85e0e
Bump aioesphomeapi to 18.0.3 ( #102085 )
2023-10-15 16:32:55 -10:00
Abílio Costa
c60cc11505
Call disconnected callbacks from BT ESPHome client ( #102084 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-15 14:00:19 -10:00
J. Nick Koston
5b8da03596
Bump aioesphomeapi to 18.0.1 ( #102028 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-14 23:42:22 -10:00
J. Nick Koston
89d86fe983
Bump aioesphomeapi to 17.2.0 ( #101981 )
...
* Bump aioesphomeapi to 17.2.0
changelog: https://github.com/esphome/aioesphomeapi/compare/v17.1.5...v17.2.0
* fix import from wrong module
2023-10-14 11:48:59 +02:00