Marc Mueller
09ebca9630
Use SignalType to improve typing [esphome] ( #114296 )
2024-03-27 08:22:10 -04:00
J. Nick Koston
a0d43aeba2
Remove unused code in ESPHome entry_data ( #114263 )
2024-03-26 10:32:16 -10:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
efc54971d3
Update empty line formatting after module docstring ( #114040 )
2024-03-23 00:27:57 +01:00
Jesse Hills
6ddef7bbff
ESPHome: Add Time Entity support ( #113852 )
2024-03-21 16:59:43 +13:00
Jesse Hills
510e7ccf76
Bump aioesphomeapi to 23.2.0 ( #113854 )
2024-03-19 19:40:09 -10:00
J. Nick Koston
dbbd6fff01
Move ESPHome disconnects to the close event ( #113652 )
2024-03-17 08:15:28 -10:00
Sid
6ee273a548
Clean up unneeded ruff noqa directives ( #113616 )
2024-03-16 09:48:37 -10:00
soonsouth
cfc2f17f35
Remove repetitive words in comments and docstrings ( #113529 )
...
chore: remove repetitive words
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-15 18:11:12 +01:00
Jesse Hills
3d7d3d263d
ESPHome: Add Date Entity support ( #112475 )
...
* ESPHome: Add Date Entity support
* Formatting
* Add missing state test
2024-03-13 08:02:52 +01:00
Jesse Hills
a2a8a8f119
ESPHome: Catch and re-raise client library errors as HomeAssistantErrors ( #113026 )
2024-03-12 18:06:25 -10:00
J. Nick Koston
4c82196fc8
Avoid some event loop overhead for ESPHome listeners ( #113173 )
2024-03-12 21:49:31 +01:00
Joost Lekkerkerker
643e6096da
Improve lists in integrations [E-F] ( #113075 )
2024-03-12 18:42:43 +01:00
J. Nick Koston
e96ef4613c
Bump aioesphomeapi to 23.1.1 ( #113016 )
...
changelog: https://github.com/esphome/aioesphomeapi/compare/v23.1.0...v23.1.1
Fixes cryptic error message the user tried to send a command
or execute a service call when the device was disconnected
2024-03-10 23:18:49 -04:00
J. Nick Koston
f1b5dcdd1b
Refactor handling of device updates in ESPHome ( #112864 )
2024-03-09 20:30:17 -10:00
Marc Mueller
25237e0377
Replace EventType with Event [a-g] ( #112739 )
2024-03-08 19:35:17 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
Jesse Hills
3ccbb2c87a
Bump aioesphomeapi to 23.1.0 ( #112560 )
2024-03-07 16:44:58 +13:00
J. Nick Koston
4249d17c1b
Reduce ESPHome reconnect time ( #112001 )
...
Use eager tasks to request device_info and entities which avoids
waiting one event loop to send the requests to the device
2024-03-01 22:16:01 -05:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler ( #111862 )
2024-02-29 20:07:36 +01:00
Michael Hansen
890e651bdd
Avoid race condition with UDP voice server starting in ESPHome ( #111644 )
...
* Avoid race condition with UDP server starting
* Fix test
2024-02-27 10:54:56 -06:00
Jesse Hills
e1dade69e1
ESPHome: Pass through wake_word_phrase from on-device microWakeWord ( #111585 )
...
* ESPHome: Pass through wake_word_phrase from on-device microWakeWord
* Bump aioesphomeapi to 23.0.0
2024-02-26 23:29:03 -05:00
J. Nick Koston
4ea1c5cc3c
Add support for importing integrations in the executor ( #111336 )
...
* Add support for pre-imports at setup time
alternative solution to #111331
* refactor
* refactor
* refactor
* mark >1.0s integrations
* no point in executor if already loaded
* no point in executor if already loaded
* cleanup
* cleanup
* two more
* one more
* analytics loads a lot more integrations
* cloud
* debug
* psutil, hardwre
* try zha
* Update homeassistant/setup.py
* await
* comments
* coverage
* coverage
* coverage
* move logic to loader
* move logic to loader
* preserve comments
2024-02-26 14:49:43 -05:00
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