-
- Downloads
Use DataUpdateCoordinator for glances (#72748)
* use DataUpdateCoordinator for glances add tests to increase coverage fix test_config_flow.py fix codecov/patch remove unused const, minor tweaks remove invalid_auth test as it is not implemented fix type hints * change to async_forward_entry_setups * Use Dataupdatecoordinator for glances * minor fixex * minor fixes * minor fix * remove support_versions const * coe cleanup * address comments * fix sensor native_value * Rename entry to entry_data in `get_api` * Remove whitespace in sensor name
Showing
- .coveragerc 1 addition, 1 deletion.coveragerc
- homeassistant/components/glances/__init__.py 19 additions, 108 deletionshomeassistant/components/glances/__init__.py
- homeassistant/components/glances/config_flow.py 6 additions, 42 deletionshomeassistant/components/glances/config_flow.py
- homeassistant/components/glances/const.py 0 additions, 1 deletionhomeassistant/components/glances/const.py
- homeassistant/components/glances/coordinator.py 42 additions, 0 deletionshomeassistant/components/glances/coordinator.py
- homeassistant/components/glances/sensor.py 78 additions, 90 deletionshomeassistant/components/glances/sensor.py
- homeassistant/components/glances/strings.json 1 addition, 12 deletionshomeassistant/components/glances/strings.json
- homeassistant/components/glances/translations/en.json 1 addition, 12 deletionshomeassistant/components/glances/translations/en.json
- tests/components/glances/__init__.py 41 additions, 0 deletionstests/components/glances/__init__.py
- tests/components/glances/conftest.py 15 additions, 0 deletionstests/components/glances/conftest.py
- tests/components/glances/test_config_flow.py 27 additions, 74 deletionstests/components/glances/test_config_flow.py
- tests/components/glances/test_init.py 49 additions, 0 deletionstests/components/glances/test_init.py
Loading
Please register or sign in to comment