Skip to content

Commit 672873f

Browse files
committed
clean some code
1 parent 04d353d commit 672873f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

custom_components/fronius_local/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async def async_setup_entry(
3939
entry.runtime_data = FroniusData(
4040
client=FroniusApiClient(
4141
hass=hass,
42-
url=entry.data[CONF_URL].strip(),
42+
url=entry.data[CONF_URL],
4343
passwd=entry.data[CONF_PASSWORD],
4444
),
4545
integration=async_get_loaded_integration(hass, entry.domain),

custom_components/fronius_local/api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from homeassistant.helpers import httpx_client
99

1010
from . import auth
11-
from . import const as fl
1211

1312
if TYPE_CHECKING:
1413
from homeassistant.core import HomeAssistant

0 commit comments

Comments
 (0)