Alberto Montes
b2401bf2e3
Update string formatting to use f-string on components ( #125987 )
...
* Update string formatting to use f-string on components
* Update code given review feedback
* Use f-string
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-19 11:38:25 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 ( #124771 )
2024-08-28 13:48:13 +02:00
Marc Mueller
87bb7ced79
Use PEP 695 for simple type aliases ( #117633 )
2024-05-17 14:42:21 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 ( #115735 )
2024-05-06 20:33:26 +02:00
J. Nick Koston
657bc969a3
Improve performance of system_log traceback handling ( #114992 )
2024-04-05 16:47:17 -10:00
J. Nick Koston
0963f5e642
Avoid storing raw extracted traceback in system_log ( #114603 )
...
This is never actually used and takes up quite a bit of ram
2024-04-01 21:35:38 -04:00
J. Nick Koston
a5128c2148
Covert system_log services to be callbacks ( #114143 )
2024-03-24 15:55:40 -10:00
Sid
929bcb92e2
Add Ruff LOG rules ( #113677 )
...
* Add Ruff LOG rules
* Address review comment
* Update const.py
2024-03-17 15:59:49 +01:00
Joost Lekkerkerker
ca916bcc98
Add service icons to System Log ( #113355 )
2024-03-14 10:59:28 +01:00
J. Nick Koston
bbef3f7f68
Only extract traceback once in system_log ( #113201 )
2024-03-13 11:58:34 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
J. Nick Koston
70a3f67e03
Avoid extracting the stack twice in system_log ( #112572 )
2024-03-07 11:00:05 -05:00
Marc Mueller
ca1aaacc90
Enable strict typing for system_log ( #107914 )
2024-01-12 21:21:11 -10:00
J. Nick Koston
59daceafd2
Avoid calling extract_stack in system_log since it does blocking I/O ( #100455 )
2023-09-21 09:48:41 +02:00
Ville Skyttä
b51c0f6ddc
Remove unnnecessary pylint configs from components [s-z]* ( #98925 )
2023-08-24 01:25:32 +02:00
Erik Montnemery
91faa53843
Don't allow hass.config.config_dir to be None ( #98442 )
2023-08-16 13:00:14 +02:00
Meow
024d646526
Aligned integration manifest files ( #97175 )
2023-07-25 08:33:56 +02:00
Franck Nijhof
728a5ff99b
Migrate system_log services to support translations ( #96398 )
2023-07-12 18:56:08 +02:00
J. Nick Koston
1c54b2e025
Reduce system_log overhead ( #96177 )
2023-07-09 15:18:48 -10:00
J. Nick Koston
73714a6656
Ensure system log does not raise while processing logger messages ( #90652 )
2023-04-02 15:18:50 -10:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 ( #87031 )
2023-02-08 20:41:50 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Erik Montnemery
3aa64aaaf1
Mark some integrations as system integrations ( #80948 )
2022-10-25 15:30:46 +02:00
J. Nick Koston
fe67703e13
Log invalid messages instead of raising in system_log ( #80645 )
2022-10-21 10:52:03 -04:00
epenet
2c43606922
Add websocket type hints in components ( #80654 )
...
* Add websocket type hints in components
* Adjust
* Apply suggestion
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-20 13:41:14 +02:00
J. Nick Koston
08ff1b8986
Fix flapping system log test ( #75111 )
2022-07-14 11:05:52 +02:00
epenet
bfd84ba89c
Prettify yaml (services.yaml) ( #68878 )
2022-03-30 09:48:06 +02:00
Franck Nijhof
963d161f72
Update core services files with new selectors ( #68810 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-03-28 17:17:16 -07:00
epenet
e2a9ff5ecd
Remove system_log from mypy ignore list ( #64469 )
2022-01-20 09:51:10 +01:00
Paulus Schoutsen
7943b0ff5e
Remove http dependency from system log ( #64386 )
2022-01-18 14:10:14 -08:00
epenet
00ec874389
Add init type hints [s] ( #63193 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:29:52 +01:00
epenet
92ace6c2e8
Ensure service calls are typed [s-u] ( #62922 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:42 +01:00
Marc Mueller
84618fa831
Use assignment expressions 30 ( #58714 )
2021-10-30 16:33:42 +02:00
Marc Mueller
ea2e94a4e5
Use assignment expressions 24 ( #58181 )
2021-10-22 14:07:19 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Franck Nijhof
ea4bbd771f
Add service names to previously enriched services ( #46929 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-23 14:10:13 +01:00
Franck Nijhof
3f96ebeae5
Add selectors to Logger, System Log & Logbook service definitions ( #46740 )
2021-02-18 16:33:29 +01:00
Franck Nijhof
2f486543df
Drop Python 3.7 support ( #43805 )
2021-01-01 13:47:01 +01:00
J. Nick Koston
2e1dbe51a4
Make system_log test reliable ( #40049 )
2020-09-14 08:48:59 +02:00
Ville Skyttä
1bf2c4d976
Upgrade pylint to 2.6.0 ( #39363 )
2020-08-29 07:59:24 +02:00
J. Nick Koston
e208d8b93e
Move system log processing out of the event loop ( #38445 )
2020-08-04 21:21:45 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Jason Lachowsky
77b3f31e9b
Corrected minor misspellings ( #32857 )
2020-03-16 11:58:12 +01:00
Paulus Schoutsen
8f6651af3d
Update system log grouping ( #32367 )
2020-03-03 13:55:15 -08:00
Paulus Schoutsen
3da136b034
Add logger name to system log ( #31902 )
2020-02-17 17:26:25 +01:00
Franck Nijhof
bfa0edaf92
Migrate Integration Quality Scale from docs to manifest: internal ( #30551 )
2020-01-07 20:58:49 +01:00
Franck Nijhof
22760a0bee
Correct names in manifests (Q-S) ( #30543 )
2020-01-07 08:19:44 -05:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
springstan
ed464a75b2
Move imports to top for system_log ( #29465 )
2019-12-05 13:42:56 +01:00