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:
parent
63fee312bd
commit
db588bcf64
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user