J. Nick Koston
f1b5dcdd1b
Refactor handling of device updates in ESPHome ( #112864 )
2024-03-09 20:30:17 -10:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Marc Mueller
7a89e58873
Use builtin TimeoutError [e-i] ( #109679 )
2024-02-05 12:00:37 +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
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
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
J. Nick Koston
ffe81a9716
Improve ESPHome update platform error reporting ( #96455 )
2023-07-12 16:46:29 -10:00
J. Nick Koston
e38f55fdb6
Move ESPHomeManager into its own file ( #95870 )
...
* Move ESPHomeManager into its own file
This is not a functional change. This is only a reorganization
ahead of some more test coverage being added so moving tests
around can be avoided later.
* relos
* fixes
* merge a portion of new cover since its small and allows us to remove the __init__ from .coveragerc
2023-07-08 09:19:44 +02:00
J. Nick Koston
fde82ee323
Keep esphome update entity available when disconnected is expected ( #95278 )
2023-06-26 22:20:56 +02:00
J. Nick Koston
ec5f50913a
Retry creating esphome update entities later if dashboard is unavailable ( #92042 )
2023-04-26 18:41:00 +02:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
b9beed4624
Add type hints to integration tests (part 6) ( #87979 )
2023-02-13 09:45:11 +01:00
Franck Nijhof
cc3ae5b19b
Mark ESPHome update entity unavailable when device is offline ( #87576 )
2023-02-07 22:15:54 +01: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
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
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
Paulus Schoutsen
c8cd41b5d4
Add ESPHome update entities ( #85717 )
2023-01-11 16:26:13 -05:00