Skip to content

Commit

Permalink
Fix use tls
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed May 27, 2024
1 parent a240c2b commit 24258bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bbox/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(
password=entry.data[CONF_PASSWORD],
hostname=entry.data[CONF_HOST],
session=async_create_clientsession(self.hass),
use_tls=entry.data[CONF_USE_TLS],
use_tls=entry.data.get(CONF_USE_TLS, False),
)

async def _async_update_data(self) -> dict[str, dict[str, Any]]:
Expand Down

0 comments on commit 24258bb

Please sign in to comment.