Commit Graph

786 Commits (32147dbdd9d7455af988e25aaff6c32049118364)

Author SHA1 Message Date
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