Skip to content

Commit

Permalink
Fix save json import (#162)
Browse files Browse the repository at this point in the history
* Bump minimum HA version to one with the JSON change
---------

Co-authored-by: dlarrick <doug@parkercat.org>
  • Loading branch information
omriasta and dlarrick authored Aug 9, 2024
1 parent 5d1a74c commit 84d81c5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
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
2 changes: 1 addition & 1 deletion custom_components/kumo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": [],
"codeowners": [ "@dlarrick" ],
"requirements": ["pykumo==0.3.9"],
"version": "0.3.13",
"version": "0.3.14",
"homeassistant": "2024.1.0",
"iot_class": "local_polling",
"integration_type": "hub"
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Mitsubishi Kumo Cloud",
"render_readme": true,
"homeassistant": "2021.12.0"
"homeassistant": "2024.1.0"
}

0 comments on commit 84d81c5

Please sign in to comment.