Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix save json import #162

Merged
merged 5 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom_components/kumo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
from homeassistant.core import HomeAssistant
from homeassistant.util.json import load_json, save_json
from homeassistant.util.json import load_json
from homeassistant.helpers.json import save_json

from .coordinator import KumoDataUpdateCoordinator
from .const import (
Expand Down
3 changes: 2 additions & 1 deletion custom_components/kumo/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import voluptuous as vol
from homeassistant import config_entries, core, exceptions
from homeassistant.core import callback
from homeassistant.util.json import load_json, save_json
from homeassistant.util.json import load_json
from homeassistant.helpers.json import save_json
from pykumo import KumoCloudAccount
from requests.exceptions import ConnectionError

Expand Down