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
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
f1b5dcdd1b
Refactor handling of device updates in ESPHome ( #112864 )
2024-03-09 20:30:17 -10:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
J. Nick Koston
fb7da1ba83
Simplify ESPHome entity removal process ( #111076 )
2024-02-22 11:39: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
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
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
88296c1998
Migrate ESPHome unique ids to new format ( #99451 )
2023-10-15 17:05:20 -10:00
Ville Skyttä
e7b6037419
Remove unnnecessary pylint configs from components [e-l]* ( #99004 )
2023-08-25 09:46:34 +02:00
Erik Montnemery
8b99d4678f
Correct checks for non-finite numbers in ESPHome ( #98102 )
2023-08-12 08:10:25 +01:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04: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
708b00d7ab
Use legacy rules for ESPHome entity_id construction if friendly_name
is unset ( #97578 )
2023-08-01 21:08:12 +02:00
J. Nick Koston
afdbbefc31
Revert using has_entity_name in ESPHome when friendly_name
is not set ( #97488 )
2023-07-30 18:28:45 +02:00
J. Nick Koston
095146b163
Fix has_entity_name not always being set in ESPHome ( #97055 )
2023-07-23 10:45:48 +02:00
J. Nick Koston
7dc03ef301
Use the ESPHome object_id to suggest the entity id ( #95852 )
2023-07-10 13:02:34 +02: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
3b7095c63b
Fix esphome not removing entities when static info changes ( #95202 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-25 21:31:31 -05:00
J. Nick Koston
57a910a144
Relocate esphome entity code into its own module ( #95092 )
2023-06-24 23:12:36 -04:00