Commit Graph

192 Commits (c5a3e58994455cfbd471871a75b3c95c5fef9ea0)

Author SHA1 Message Date
J. Nick Koston dc18a7f1fb
Bump aioesphomeapi to 17.1.4 (#101897) 2023-10-12 11:48:00 -10:00
J. Nick Koston 377f00730a
Bump aioesphomeapi to 17.0.1 (#101214) 2023-10-01 19:33:53 +01:00
Jesse Hills 4c21aa18db
Add audio_settings for pipeline from ESPHome device (#100894)
* Add audio_settings for pipeline from ESPHome device

* ruff fixes

* Bump aioesphomeapi 17.0.0

* Mypy

* Fix tests

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-09-26 16:27:26 -05:00
J. Nick Koston 6b19602322
Bump aioesphomeapi to 16.0.6 (#100826)
changelog: https://github.com/esphome/aioesphomeapi/compare/v16.0.5...v16.0.6
2023-09-25 07:22:42 +02:00
J. Nick Koston b9e8566608
Bump bluetooth-data-tools to 0.12.0 (#100794) 2023-09-24 20:29:29 +02:00
Robert Resch e4742c04f2
Fix missspelled package names (#100670) 2023-09-21 10:57:23 +02:00
J. Nick Koston da45f6cbb0
Bump aioesphomeapi to 16.0.5 (#99698)
changelog: https://github.com/esphome/aioesphomeapi/compare/v16.0.4...v16.0.5

fixes `RuntimeError: set changed size during iteration`

https://github.com/esphome/aioesphomeapi/pull/538

some added debug logging which may help with https://github.com/home-assistant/core/issues/98221
2023-09-05 20:42:50 -05:00
J. Nick Koston b752419f25
Bump aioesphomeapi to 16.0.4 (#99541) 2023-09-03 09:13:34 -05:00
Jc2k e465a4f820
Update bluetooth-data-tools to 1.11.0 (#99485) 2023-09-01 17:33:19 -05:00
Keith Burzinski 5e03954e69
Add @kbx81 as esphome codeowner (#99427)
* Add @kbx81 as esphome codeowner

* Add @kbx81 as esphome codeowner, take 2
2023-08-31 23:50:25 +02:00
J. Nick Koston 5006244f4c
Bump aioesphomeapi to 16.0.3 (#99282) 2023-08-29 09:31:41 -05:00
J. Nick Koston 6cd28b64e8
Bump bluetooth-data-tools 1.9.1 (#99131) 2023-08-27 10:10:00 -05:00
J. Nick Koston 46a0f84101
Bump bluetooth-data-tools to 1.9.0 (#98927) 2023-08-23 20:18:21 -05:00
J. Nick Koston 3e14e5acba
Bump aioesphomeapi to 16.0.1 (#98536) 2023-08-17 17:46:21 +02:00
J. Nick Koston 108bcabf75
Add missing transmit power to ESPHome Bluetooth scanners (#98175)
We did not previously have a way to get the transmit power value when using
ESPHome scanners. bluetooth-data-tools 1.8.0 includes it in the
advertisment tuple to fully align with the bleak implementation.

txpower is not yet used in the HA codebase but may be expected by
upstream libaries that calculate estimated distance
2023-08-10 21:59:37 -04:00
J. Nick Koston c478a81deb
Bump bluetooth-data-tools to 1.7.0 (#97821) 2023-08-05 22:21:46 +02:00
J. Nick Koston cbc8ebb427
Bump aioesphomeapi to 15.1.15 (#97335)
changelog: https://github.com/esphome/aioesphomeapi/compare/v15.1.14...v15.1.15
2023-07-27 09:30:31 -05:00
J. Nick Koston 593960c704
Bump bluetooth deps (#97157) 2023-07-24 19:49:24 +02:00
J. Nick Koston 7814ce06f4
Fix ESPHome bluetooth client cancel behavior when device unexpectedly disconnects (#96918) 2023-07-21 13:44:13 -05:00
J. Nick Koston 0b0f072faf
Bump aioesphomeapi to 15.1.14 (#97019)
changelog: https://github.com/esphome/aioesphomeapi/compare/v15.1.13...v15.1.14
2023-07-21 13:05:46 -04:00
J. Nick Koston 6818cae072
Bump aioesphomeapi to 15.1.13 (#96964) 2023-07-20 16:05:17 -05:00
J. Nick Koston 955bed0128
Bump aioesphomeapi to 15.1.12 (#96924) 2023-07-19 18:39:50 -05:00
J. Nick Koston 9b839041fa
Bump aioesphomeapi to 15.1.11 (#96873) 2023-07-19 06:49:40 +02:00
J. Nick Koston eb60dc65ec
Bump aioesphomeapi to 15.1.9 (#96791) 2023-07-17 15:35:37 -10:00
J. Nick Koston 30e05ab85e
Bump aioesphomeapi to 15.1.7 (#96615) 2023-07-15 12:31:35 -10:00
J. Nick Koston c86b60bdf7
Bump bluetooth-data-tools to 1.6.0 (#96461) 2023-07-13 11:42:11 -10:00
J. Nick Koston 85ed347ff3
Bump aioesphomeapi to 15.1.6 (#96297)
* Bump aioesphomeapi to 15.1.5

changelog: https://github.com/esphome/aioesphomeapi/compare/v15.1.4...v15.1.5

- reduce traffic
- improve error reporting

* 6
2023-07-11 14:08:01 -04:00
J. Nick Koston fa6d659f2b
Bump aioesphomeapi to 15.1.4 (#96227) 2023-07-10 11:11:08 +02:00
J. Nick Koston 6402e2c140
Bump aioesphomeapi to 15.1.3 (#95819) 2023-07-07 18:25:54 +02:00
J. Nick Koston 73f90035bb
Bump aioesphomeapi to 15.1.2 (#95792)
changelog: https://github.com/esphome/aioesphomeapi/compare/v15.1.1...v15.1.2

intentionally not tagged for beta to give it more time in dev
since we are near the end of the beta cycle
2023-07-03 14:19:41 -04:00
J. Nick Koston f0cb03e631
Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678)
* Handle incorrect or missing device name for ESPHome noise encryption

If we did not have the device name during setup we could never
get the key from the dashboard. The device will send us
its name if we try encryption which allows us to find the
right key from the dashboard.

This should help get users unstuck when they change the key
and cannot get the device back online after deleting and
trying to set it up again manually

* bump lib to get name

* tweak

* reduce number of connections

* less connections when we know we will fail

* coverage shows it works but it does not

* add more coverage

* fix test

* bump again
2023-07-02 10:29:45 -04:00
J. Nick Koston 376c61c34b
Bump aioesphomeapi to 15.0.1 (#95629)
fixes #87223 (the cases were the host gets too far behind,
not the cases were the esp8266 runs out of ram but thats
is not a core issue)
2023-06-30 11:37:04 -04:00
J. Nick Koston 93b4e6404b
Bump bluetooth-data-tools to 1.3.0 (#95576) 2023-06-29 18:03:59 -05:00
J. Nick Koston 021a39a09c
Make deep sleep esphome entities unavailable on unexpected disconnect (#95211) 2023-06-26 14:21:45 +02:00
J. Nick Koston 7c49324f18
Bump aioesphomeapi to 14.1.1 (#95166) 2023-06-24 14:15:51 -05:00
J. Nick Koston 804a8ef36a
Reduce overhead to update esphome entities (#94930) 2023-06-21 11:00:21 +02:00
Graham Brown cecdc3bd47
ESPHome Alarm Control Panel (#92357) 2023-06-19 19:19:17 -05:00
J. Nick Koston 7e3510800d
Bump bluetooth-data-tools to 1.2.0 (#94696)
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.1.0...v1.2.0

benchmark (0.4.0) currently in 2023.6.x: Parsing 100000 bluetooth messages took 8.928823958034627 seconds
benchmark (1.2.0) this PR: Parsing 100000 bluetooth messages took 1.6808899159659632 seconds
2023-06-15 22:11:14 -04:00
J. Nick Koston b149fffa08
Bump bluetooth-data-tools to 1.1.0 (#94610)
Bume bluetooth-data-tools to 1.1.0

performance improvements

https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.0.0...v1.1.0
2023-06-14 22:25:26 +02:00
J. Nick Koston 223394eaee
Bump bluetooth-data-tools to 1.0.0 (#94145) 2023-06-13 06:42:10 -10:00
J. Nick Koston 88bfd94800
Add support for ESPHome raw bluetooth advertisements (#94138)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-07 18:36:22 -05:00
Jesse Hills d7d9143a44
Add speech detection and conversation_id to esphome voice assistant (#93578)
* Add speech detection to esphome voice assistant

* Timeout after silence
Ensure events are sent before finish is called

* use va_version 3 instead of ESPHome version

* Convert repeated fixtures to factory

* Add some v3 tests

* Add conversation_id

* Bump aioesphomeapi to 13.8.0

* Fix missed buffering of detected chunk

* Alter log message

* Updates

* Spelling

* Fix return type
2023-05-30 19:49:22 -04: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 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
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
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
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 02c749a111
Bump aioesphomeapi to 10.6.1 (#90816) 2023-04-04 17:22:01 -10:00
J. Nick Koston 65e46e3261
Bump aioesphomeapi to 13.6.0 (#90330) 2023-03-26 12:58:07 -10:00
J. Nick Koston c707ddbf7c
Bump aioesphomeapi to 13.5.1 (#89777) 2023-03-15 20:00:47 -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
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
Jesse Hills 6da524b378
ESPHome: Add additional field for current temperature precision (#88464) 2023-02-20 09:54:40 +01: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 78c9b70c8d
Sort manifests 3 (#87024) 2023-02-08 20:19:19 +01:00
Paulus Schoutsen 1c4ba61725
Bump ESPHome Dashboard API 1.2.3 (#86997) 2023-01-31 00:05:59 -05: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
Jesse Hills d3c41bc31c
Add friendly name support for ESPHome (#85976)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-15 21:33:44 -10:00
Paulus Schoutsen 06bc9c7b22
Automatically fetch the encryption key from the ESPHome dashboard (#85709)
* Automatically fetch the encryption key from the ESPHome dashboard

* Also use encryption key during reauth

* Typo

* Clean up tests
2023-01-11 15:28:31 -05:00
J. Nick Koston 7bdfa7b9ec
Bump aioesphomeapi to 13.0.4 (#85406)
bugfix for protobuf not accepting bytearray

changelog: https://github.com/esphome/aioesphomeapi/compare/v13.0.3...v13.0.4
2023-01-08 20:09:49 -05:00
J. Nick Koston 6d012ea7c0
Bump aioesphomeapi to 13.0.3 (#85356)
Performance improvements

changelog: https://github.com/esphome/aioesphomeapi/compare/v13.0.2...v13.0.3
2023-01-06 23:00:38 -05:00
J. Nick Koston 6b95fa5942
Fix bluetooth not being loaded with esphome proxies when removed from default_config (#85032)
* Fix bluetooth not being loaded with esphome proxies when removed from default_config

fixes #84960

* actually commit the conftest change
2023-01-02 21:10:39 -05:00
J. Nick Koston 45a9c1ca8c
Bump aioesphomeapi to 13.0.2 to fix reconnects after bad protobuf message (#83951) 2022-12-13 12:57:54 -10:00
J. Nick Koston 1efc71624a
Bump aioesphomeapi to 13.0.1 (#83223)
fixes https://github.com/home-assistant/core/issues/83212
2022-12-04 21:09:10 -05:00
J. Nick Koston de1e97a81f
Fix esphome ble client leaking notify on disconnect (#83106)
* Fix esphome ble client leaking notify on disconnect

needs: https://github.com/esphome/aioesphomeapi/pull/329

* leak

* more cleanup

* more cleanup

* bump
2022-12-02 19:45:49 -05:00
J. Nick Koston f4ee38687c
Bump aioesphomeapi to 12.2.1 (#83017) 2022-12-01 01:10:40 +01:00
J. Nick Koston 46b18367f7
Send back BLE address type when connecting via esphome proxies (#82890) 2022-11-28 18:54:53 -10:00
J. Nick Koston fb98128b9f
Add support for esphome ble client connections v3 (#82815) 2022-11-28 16:56:18 -10:00
J. Nick Koston 1000f500df
Bump aioesphomeapi to 12.0.1 (#82873) 2022-11-28 18:40:04 +01:00
Jesse Hills 7c36f1409d
Bump aioesphomeapi to 12.0.0 (#82543) 2022-11-22 13:45:40 -06:00
Franck Nijhof a07117470e
Add number device class support to ESPHome (#82277) 2022-11-17 21:12:45 +01:00
J. Nick Koston e7b5aaec47
Bump aioesphomeapi to 11.4.3 (#81676) 2022-11-06 17:13:14 -06:00
J. Nick Koston d87ca0b099
Improve esphome bluetooth error reporting (#81326) 2022-10-31 21:21:11 -04:00
J. Nick Koston e709b74c3f
Bump aioesphomeapi to 11.4.1 (#81282) 2022-10-30 20:39:34 -05:00
J. Nick Koston 7e47aff316
Bump aioesphomeapi to 11.4.0 (#81277) 2022-10-30 19:24:14 -05:00
J. Nick Koston 11d7e1e45f
Provide a human readable error when an esphome ble proxy connection fails (#81266) 2022-10-30 17:43:09 -05:00
Jesse Hills 97d31d05f0
Use ESPHome manufacturer name from device if provided (#80928) 2022-10-25 09:15:28 +02:00
Franck Nijhof c4bbc439a5
Integrations v2.1: Differentiating hubs, devices and services (#80524)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-19 12:41:43 +02:00
Jesse Hills bc1941717c
Bump aioesphomeapi to 11.1.1 (#79762) 2022-10-07 02:17:31 +03:00
Jesse Hills 8676012204
Bump aioesphomeapi to 11.1.0 (#79515) 2022-10-02 21:11:18 -04:00
J. Nick Koston ca0cd19dc9
Switch to using new esphome bluetooth_proxy_version field (#79331) 2022-09-30 08:29:36 -04:00
J. Nick Koston 7042d6d35b
Add ESPHome BleakClient (#78911)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-28 08:06:30 -10:00
J. Nick Koston 7f001cc1d1
ESPHome BLE scanner support (#77123)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-08-23 10:41:50 -04:00
Peter Galantha 3d2101cac5
Add total state_class for esphome (#75015) 2022-07-14 21:14:25 +02:00
Jesse Hills f311d53c60
ESPHome use dhcp responses to update connection host of known devices (#74206)
* ESPHome use dhcp responses to update connection host of known devices

* Add test for dhcp

* Add another test to cover when there are no changes required
2022-06-30 10:07:03 -07:00
Jesse Hills 23cb5cfd3f
Bump aioesphomeapi to 10.10.0 (#72083) 2022-05-18 14:27:02 +02:00
Jesse Hills 2bb6e4bb87
Bump aioesphomeapi to 10.9.0 (#72049) 2022-05-18 08:15:15 +02:00
Otto Winter 1f4ee3c265
Bump aioesphomeapi from 10.8.1 to 10.8.2 (#66189) 2022-02-09 17:54:27 +01:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Otto Winter a65a0b5903
ESPHome prevent connecting to different hosts when IP reassigned (#64559) 2022-01-24 08:29:29 +01:00
Jesse Hills acd88e1c61
Bump aioesphomeapi to 10.7.0 (#64495) 2022-01-20 09:38:58 +01:00
Jesse Hills 8630022e92
Add mode to ESPHome numbers (#60653) 2021-11-30 20:19:14 +01:00
Jesse Hills 683bb13f50
Support unit of measurement in ESPHome numbers (#60591) 2021-11-30 15:20:40 +01:00
Jesse Hills e17759410c
Esphome button device class (#60569) 2021-11-30 08:33:14 +01:00
Jesse Hills 622d9606a5
Esphome/button (#60522) 2021-11-29 09:57:37 +01:00
Jesse Hills 6d30105c9f
Add configuration_url to ESPHome (#58565) 2021-10-28 21:04:00 -07:00