epenet and GitHub
9204ccfa17
Use is in ConfigEntryState enum comparison in tests (N-Z) ( #114926 )
2024-04-05 17:37:00 +02:00
epenet and GitHub
24f83c5890
Use is in FlowResultType enum comparison in tests ( #114917 )
...
* Use is in FlowResultType enum comparison in tests
* Adjust auth
* Adjust systemmonitor
* Once more
* Add comment
2024-04-05 10:40:14 +02:00
Joost Lekkerkerker and GitHub
ee66f6ec8c
Use is in enum comparison in config flow tests P-T ( #114675 )
2024-04-02 11:21:50 -10:00
J. Nick Koston and GitHub
9a79320861
Mark executor jobs as background unless created from a tracked task ( #114450 )
...
* Mark executor jobs as background unless created from a tracked task
If the current task is not tracked the executor job should not
be a background task to avoid delaying startup and shutdown.
Currently any executor job created in a untracked task or
background task would end up being tracked and delaying
startup/shutdown
* import exec has the same issue
* Avoid tracking import executor jobs
There is no reason to track these jobs as they are always awaited
and we do not want to support fire and forget import executor jobs
* fix xiaomi_miio
* lots of fire time changed without background await
* revert changes moved to other PR
* more
* more
* more
* m
* m
* p
* fix fire and forget tests
* scrape
* sonos
* system
* more
* capture callback before block
* coverage
* more
* more races
* more races
* more
* missed some
* more fixes
* missed some more
* fix
* remove unneeded
* one more race
* two
2024-03-30 00:16:53 -04:00
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <[email protected] >
Co-authored-by: Marc Mueller <[email protected] >
Co-authored-by: J. Nick Koston <[email protected] >
2024-03-26 00:02:16 +01:00
G Johansson and GitHub
7b0abb00aa
Show correct ipv6 address in System Monitor ( #114024 )
2024-03-23 11:24:17 +01:00
Marc Mueller and GitHub
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Joost Lekkerkerker and GitHub
0b4fafddbc
Add icon translations to Systemmonitor ( #112300 )
...
* Add icon translations to Systemmonitor
* Add icon translations to Systemmonitor
2024-03-05 11:52:50 +01:00
G Johansson and GitHub
cdd7b94a95
Move all System Monitor updates into single Data Update Coordinator ( #112055 )
2024-03-03 07:24:04 -10:00
J. Nick Koston and GitHub
01a6b85a35
Avoid creating system monitor disk sensors for non-dirs ( #111695 )
...
Avoid creating system monitor sensors for non-dirs
Currently we create sensors for /etc/hosts, /etc/asound.conf, since
they are bind mounts in the container. These all have to have
their own coordinator
2024-02-28 09:31:02 +01:00
G Johansson and GitHub
c45cae3665
Remove obsolete entities from System Monitor automatically ( #111231 )
...
* Remove obsolete entities from System Monitor automatically
* callback
2024-02-24 20:50:53 +01:00
G Johansson and GitHub
777428c36d
Add diagnostics to System Monitor ( #111291 )
...
* Add diagnostics to System Monitor
* Fix
2024-02-24 20:11:11 +01:00
9e46c2e2b3
Isolate systemmonitor from psutil shared state ( #111110 )
...
* Isolate systemmonitor from psutil shared state
* Mods
* typing
* Fix tests
* Fix read temp issue
---------
Co-authored-by: J. Nick Koston <[email protected] >
2024-02-23 20:53:48 +01:00
G Johansson and GitHub
7ce1ba9304
Fix cpu percentage in System Monitor ( #110268 )
...
* Fix cpu percentage in System Monitor
* Tests
2024-02-11 21:11:31 +01:00
G Johansson and GitHub
1706156faf
Add Process binary sensor in System Monitor ( #108585 )
...
* Process binary sensor in System Monitor
* Add repair flow
* add issue
* add platform
* fix repair
* Tests
* Fix tests
* add minor version
* migrate
* Mod repairs
* Fix tests
* config flow test
* Last fixes
* Review comments
* Remove entities during repair
* Remove snapshot
2024-02-06 02:09:05 +01:00
G Johansson and GitHub
d4f9ad9dd3
Create update coordinator for Systemmonitor ( #106693 )
2024-01-16 15:07:55 -10:00
G Johansson and GitHub
0ba0f57439
Add entity name translations to System Monitor ( #107952 )
2024-01-16 21:39:03 +01:00
G Johansson and GitHub
3bc20a072a
Fix test_sensor_process_fails test in System Monitor ( #108110 )
2024-01-15 19:46:28 +01:00
5b3e1306f8
Add tests for System Monitor ( #107891 )
...
* Add tests
* no coordinator
* Coverage
* processes
* test init
* util
* test icon
* Add tests
* Mod tests
* Add tests
* Test attributes
* snapshots
* icon
* test disk mounts
* fixes
* svmem
* cache_clear
* test icon
* reset icon test
* test_processor_temperature
* fix tests on macos
---------
Co-authored-by: J. Nick Koston <[email protected] >
2024-01-15 18:26:49 +01:00
G Johansson and GitHub
4f0ee20ec5
Add config flow to System Monitor ( #104906 )
...
* Initial commit for config flow to System Monitor
* sensors
* Fixes
* Works
* Add import
* entity_registry_enabled_default = False
* entity_category = diagnostic
* Create issue
* issue in config flow
* Tests
* test requirement
* codeowner
* Fix names
* processes
* Fix type
* reviews
* get info during startup once
* Select process
* Legacy import of resources
* requirements
* Allow custom
* Fix tests
* strings
* strings
* Always enable process sensors
* Fix docstrings
* skip remove sensors if no sensors
* Modify sensors
* Fix tests
2023-12-26 18:29:32 +01:00