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
G Johansson
7b0abb00aa
Show correct ipv6 address in System Monitor ( #114024 )
2024-03-23 11:24:17 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
J. Nick Koston
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
777428c36d
Add diagnostics to System Monitor ( #111291 )
...
* Add diagnostics to System Monitor
* Fix
2024-02-24 20:11:11 +01:00
G Johansson
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 <nick@koston.org>
2024-02-23 20:53:48 +01:00
G Johansson
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
d4f9ad9dd3
Create update coordinator for Systemmonitor ( #106693 )
2024-01-16 15:07:55 -10:00
G Johansson
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 <nick@koston.org>
2024-01-15 18:26:49 +01:00
G Johansson
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