1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-14 19:09:16 +00:00

9 Commits

Author SHA1 Message Date
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] () 2024-03-08 14:50:04 +01:00
Joost Lekkerkerker
965499dd90
Add entity translations to Glances () 2024-01-14 11:12:30 +01:00
Joost Lekkerkerker
8b1db37a85
Use snapshots in Glances sensor tests ()
* Use snapshots in Glances sensor tests

* yes
2024-01-04 21:32:31 +01:00
Rami Mosleh
f71e01f652
Improve glances tests () 2023-12-27 12:55:10 +01:00
Jan-Philipp Benecke
04a497343d
Update f-g* tests to use entity & device registry fixtures () 2023-11-12 13:07:38 +01:00
Dominik
239f5fe56b
Fix glances raid plugin data ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-23 14:36:43 +02:00
Dominik
f6d3b0618e
Glances: Add error handling for invalid sensor data ()
* Set sensor to Unavailable
when native_value is invalid

* Add unit tests for sensors
2023-05-30 21:35:33 -04:00
epenet
6836e15d98
Add type hints to tests () 2023-05-04 11:25:35 +02:00
Rami Mosleh
8cbe394028
Use get_ha_sensor_data method to update glances sensors ()
* Use `get_ha_sensor_data` method to update sensor state

* update tests

* Use `get_ha_sensor_data` to validate connection

* Update test_sensor.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-31 14:27:37 +02:00