epenet
960d1289ef
Avoid references to websocket_api.const in core and other components ( #119285 )
2024-06-10 13:49:44 +02:00
J. Nick Koston
0c3ccabfb1
Speed up logger setup ( #114610 )
...
* Speed up logger setup
Preload core.logger and avoid saving it
until after startup
* add comment about 180s
* Adjust grammar
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-04 08:35:44 +02: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
43d4f10582
Add service icons to Logger ( #113325 )
...
* Add service icons to Logger
* Update homeassistant/components/logger/icons.json
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-14 13:52:45 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
59a6035d3f
Add empty line after module docstring [j-m] ( #112700 )
2024-03-08 09:01:29 -05:00
J. Nick Koston
e4a15354f4
Fix logger creating many thread locks when reloading the integrations page ( #93768 )
...
* Fix logger creating many thread locks
We call getLogger for each integration to get the current
log level when loading the integrations page. This creates
a storm of threading locks
* fixes
2024-01-13 21:11:34 -05:00
Raman Gupta
067b94899f
Move EVENT_LOGGING_CHANGED to constants ( #100974 )
...
* Move EVENT_LOGGING_CHANGED to constants
* fix test
* remove logger as dependency for bluetooth and fix test
2023-09-27 01:06:14 -04:00
Ville Skyttä
e7b6037419
Remove unnnecessary pylint configs from components [e-l]* ( #99004 )
2023-08-25 09:46:34 +02:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum ( #97101 )
2023-07-23 23:19:24 +02:00
Franck Nijhof
594d240a96
Migrate & fix logger services to support translations ( #96393 )
...
* Migrate logger services to support translations
* Fix tests and schema validation
* Apply suggestions from code review
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
---------
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 10:37:18 -04:00
Franck Nijhof
c3936e6f14
Replace isort with ruff ( #94302 )
2023-06-08 23:43:56 +02:00
Paulus Schoutsen
76535d3f7d
Fix default value when logger used ( #94269 )
2023-06-08 12:00:34 -04:00
J. Nick Koston
f47f49c9a1
Reduce overhead to check bluetooth logging ( #92512 )
2023-05-07 01:30:54 +02:00
rlippmann
f5911bcad6
Add slots to dataclasses in default_config ( #91410 )
...
* add dataclass slots to default config items
* remove slots from sun mixing
2023-04-14 14:22:39 -04:00
Jonas Bergler
9f04c23414
Support toggling debug logging for custom components ( #90340 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-27 09:40:58 -10:00
J. Nick Koston
e7e7f603c2
Remove async_response from websocket apis where nothing was being awaited ( #90204 )
2023-03-23 20:53:18 -04:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 ( #87027 )
2023-02-08 20:38:43 +01:00
J. Nick Koston
8792d664e7
Add websocket endpoints to control integration logging ( #65158 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik <erik@montnemery.com>
2022-11-17 08:57:43 -06:00
Mike Degatano
ec55a7b603
Add logger to default config for set level service ( #80033 )
2022-10-12 12:23:12 +02:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04: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
e02f0c34e5
Add init type hints [k-l] ( #63188 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:34:33 +01:00
epenet
8cc0df7b72
Ensure service calls are typed [k-n] ( #62917 )
...
* Ensure service calls are typed [k-n]
* Ensure service calls are typed in mazda
* Adjust mazda
* Add mazda comment
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:33:08 +01:00
Paulus Schoutsen
523998f8a1
Drop logger service fields because keys are dynamic ( #55750 )
2021-09-05 20:53:12 -07:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
tkdrob
a9660d5788
Add targets and selectors for services (L-M) ( #50543 )
2021-05-15 11:06:34 +02:00
Franck Nijhof
5983fac5c2
Fix use search instead of match to filter logs ( #49017 )
2021-04-10 22:03:44 +02:00
Jacob Shufro
f5d9713bd5
Add regex-based filters to logger component ( #48439 )
...
* Add regex-based filters to logger component
* Switch logger filter tests to use caplog for more coverage, add a scoping test
2021-03-30 06:53:02 -10: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
Paulus Schoutsen
9ac1475251
Simplify logger integration ( #37780 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-13 10:20:18 -07:00
J. Nick Koston
f16090caf4
Significantly improve logging performance when no integrations are requesting debug level ( #37776 )
2020-07-11 22:33:25 -07:00
J. Nick Koston
2c7eee6722
Ensure configured logger severity is respected ( #35749 )
2020-05-23 18:12:55 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
Franck Nijhof
bfa0edaf92
Migrate Integration Quality Scale from docs to manifest: internal ( #30551 )
2020-01-07 20:58:49 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Bas Nijholt
1dea0c9e34
Sort imports according to PEP8 for components starting with "L" ( #29771 )
2019-12-09 14:22:30 +01:00
Oncleben31
3194dd3456
Add documentation for logger.set_level service ( #27211 )
...
* Add set_level doc
* use only yaml
* reformat
* improvements
2019-10-09 10:58:36 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Fabian Affolter
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00