Fix some minor typos in ista EcoTrend integration (#118949)

Fix typos
This commit is contained in:
Mr. Bubbles 2024-06-06 10:43:12 +02:00 committed by GitHub
parent e37ee68434
commit 093e85d59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 10 additions and 10 deletions

View File

@ -29,7 +29,7 @@ type IstaConfigEntry = ConfigEntry[IstaCoordinator]
async def async_setup_entry(hass: HomeAssistant, entry: IstaConfigEntry) -> bool: async def async_setup_entry(hass: HomeAssistant, entry: IstaConfigEntry) -> bool:
"""Set up ista Ecotrend from a config entry.""" """Set up ista EcoTrend from a config entry."""
ista = PyEcotrendIsta( ista = PyEcotrendIsta(
entry.data[CONF_EMAIL], entry.data[CONF_EMAIL],
entry.data[CONF_PASSWORD], entry.data[CONF_PASSWORD],

View File

@ -1,4 +1,4 @@
"""Config flow for ista Ecotrend integration.""" """Config flow for ista EcoTrend integration."""
from __future__ import annotations from __future__ import annotations
@ -45,7 +45,7 @@ STEP_USER_DATA_SCHEMA = vol.Schema(
class IstaConfigFlow(ConfigFlow, domain=DOMAIN): class IstaConfigFlow(ConfigFlow, domain=DOMAIN):
"""Handle a config flow for ista Ecotrend.""" """Handle a config flow for ista EcoTrend."""
async def async_step_user( async def async_step_user(
self, user_input: dict[str, Any] | None = None self, user_input: dict[str, Any] | None = None

View File

@ -1,6 +1,6 @@
{ {
"domain": "ista_ecotrend", "domain": "ista_ecotrend",
"name": "ista Ecotrend", "name": "ista EcoTrend",
"codeowners": ["@tr4nt0r"], "codeowners": ["@tr4nt0r"],
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/ista_ecotrend", "documentation": "https://www.home-assistant.io/integrations/ista_ecotrend",

View File

@ -50,7 +50,7 @@
"message": "Authentication failed for {email}, check your login credentials" "message": "Authentication failed for {email}, check your login credentials"
}, },
"connection_exception": { "connection_exception": {
"message": "Unable to connect and retrieve data from ista EcoTrends, try again later" "message": "Unable to connect and retrieve data from ista EcoTrend, try again later"
} }
} }
} }

View File

@ -2923,7 +2923,7 @@
"iot_class": "cloud_polling" "iot_class": "cloud_polling"
}, },
"ista_ecotrend": { "ista_ecotrend": {
"name": "ista Ecotrend", "name": "ista EcoTrend",
"integration_type": "hub", "integration_type": "hub",
"config_flow": true, "config_flow": true,
"iot_class": "cloud_polling" "iot_class": "cloud_polling"

View File

@ -1 +1 @@
"""Tests for the ista Ecotrend integration.""" """Tests for the ista EcoTrend integration."""

View File

@ -1,4 +1,4 @@
"""Common fixtures for the ista Ecotrend tests.""" """Common fixtures for the ista EcoTrend tests."""
from collections.abc import Generator from collections.abc import Generator
from typing import Any from typing import Any

View File

@ -1,4 +1,4 @@
"""Test the ista Ecotrend config flow.""" """Test the ista EcoTrend config flow."""
from unittest.mock import AsyncMock, MagicMock from unittest.mock import AsyncMock, MagicMock

View File

@ -1,4 +1,4 @@
"""Test the ista Ecotrend init.""" """Test the ista EcoTrend init."""
from unittest.mock import MagicMock from unittest.mock import MagicMock