1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-24 13:47:35 +00:00

6 Commits

Author SHA1 Message Date
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