From 8842b4840e3ef7823f530f2b61853fec0cafc5f4 Mon Sep 17 00:00:00 2001 From: smarthome-10 Date: Tue, 31 Mar 2026 23:09:00 +0200 Subject: [PATCH] Rename component to integration in Glances (#167012) --- homeassistant/components/glances/__init__.py | 2 +- homeassistant/components/glances/const.py | 2 +- homeassistant/components/glances/sensor.py | 2 +- tests/components/glances/conftest.py | 2 +- tests/components/glances/test_config_flow.py | 2 +- tests/components/glances/test_sensor.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/glances/__init__.py b/homeassistant/components/glances/__init__.py index d7b645d9e11..44460ed1928 100644 --- a/homeassistant/components/glances/__init__.py +++ b/homeassistant/components/glances/__init__.py @@ -1,4 +1,4 @@ -"""The Glances component.""" +"""The Glances integration.""" import logging from typing import Any diff --git a/homeassistant/components/glances/const.py b/homeassistant/components/glances/const.py index f0477a30463..6831ccb9e3b 100644 --- a/homeassistant/components/glances/const.py +++ b/homeassistant/components/glances/const.py @@ -1,4 +1,4 @@ -"""Constants for Glances component.""" +"""Constants for Glances integration.""" from datetime import timedelta import sys diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index 67f57ee0fbf..c618c674a8b 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -1,4 +1,4 @@ -"""Support gathering system information of hosts which are running glances.""" +"""Support gathering system information of hosts which are running Glances.""" from __future__ import annotations diff --git a/tests/components/glances/conftest.py b/tests/components/glances/conftest.py index 339136f44e8..be0da5832de 100644 --- a/tests/components/glances/conftest.py +++ b/tests/components/glances/conftest.py @@ -1,4 +1,4 @@ -"""Conftest for speedtestdotnet.""" +"""Conftest for Glances.""" from unittest.mock import AsyncMock, patch diff --git a/tests/components/glances/test_config_flow.py b/tests/components/glances/test_config_flow.py index b8d376d652f..b16da5122e0 100644 --- a/tests/components/glances/test_config_flow.py +++ b/tests/components/glances/test_config_flow.py @@ -22,7 +22,7 @@ from tests.common import MockConfigEntry @pytest.fixture(autouse=True) def glances_setup_fixture(): - """Mock glances entry setup.""" + """Mock Glances entry setup.""" with patch("homeassistant.components.glances.async_setup_entry", return_value=True): yield diff --git a/tests/components/glances/test_sensor.py b/tests/components/glances/test_sensor.py index 71bb689f3ff..292009b30b1 100644 --- a/tests/components/glances/test_sensor.py +++ b/tests/components/glances/test_sensor.py @@ -1,4 +1,4 @@ -"""Tests for glances sensors.""" +"""Tests for Glances sensors.""" from datetime import timedelta from unittest.mock import AsyncMock