1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00

spelling: components/aurora_abb_powerone (#64231)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-01-17 09:44:10 -05:00 committed by GitHub
parent 63fee312bd
commit db588bcf64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
comport = entry.data[CONF_PORT] comport = entry.data[CONF_PORT]
address = entry.data[CONF_ADDRESS] address = entry.data[CONF_ADDRESS]
ser_client = AuroraSerialClient(address, comport, parity="N", timeout=1) ser_client = AuroraSerialClient(address, comport, parity="N", timeout=1)
# To handle yaml import attempts in darkeness, (re)try connecting only if # To handle yaml import attempts in darkness, (re)try connecting only if
# unique_id not yet assigned. # unique_id not yet assigned.
if entry.unique_id is None: if entry.unique_id is None:
try: try:

View File

@ -35,7 +35,7 @@ def validate_and_connect(
""" """
comport = data[CONF_PORT] comport = data[CONF_PORT]
address = data[CONF_ADDRESS] address = data[CONF_ADDRESS]
_LOGGER.debug("Intitialising com port=%s", comport) _LOGGER.debug("Initialising com port=%s", comport)
ret = {} ret = {}
ret["title"] = DEFAULT_INTEGRATION_TITLE ret["title"] = DEFAULT_INTEGRATION_TITLE
try: try:

View File

@ -1,4 +1,4 @@
"""Support for Aurora ABB PowerOne Solar Photvoltaic (PV) inverter.""" """Support for Aurora ABB PowerOne Solar Photovoltaic (PV) inverter."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping