Skip to content

Commit

Permalink
update abode user_data path to HA config
Browse files Browse the repository at this point in the history
  • Loading branch information
krx committed Sep 25, 2024
1 parent 2c2f9ef commit 1d45569
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/abode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

from dataclasses import dataclass, field
from functools import partial
from pathlib import Path

from jaraco.abode.client import Client as Abode
import jaraco.abode.config
from jaraco.abode.exceptions import (
AuthenticationException as AbodeAuthenticationException,
Exception as AbodeException,
Expand Down Expand Up @@ -100,6 +102,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
)

try:
jaraco.abode.config.paths.override(user_data=Path(hass.config.path("Abode")))
abode = await hass.async_add_executor_job(
Abode, username, password, True, True, True
)
Expand Down

0 comments on commit 1d45569

Please sign in to comment.