Skip to content

Commit

Permalink
fix: maintenance update for HA 2024.5 release (#326)
Browse files Browse the repository at this point in the history
* fix: maintenance update for HA 2024.5 release

* update min version due to core changes in HA
  • Loading branch information
firstof9 committed May 1, 2024
1 parent b11b253 commit a0d0d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/openevse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from homeassistant.core import Config, CoreState, Event, HomeAssistant, State, callback
from homeassistant.exceptions import ConfigEntryNotReady
from homeassistant.helpers import device_registry as dr
from homeassistant.helpers.event import async_track_state_change
from homeassistant.helpers.event import async_track_state_change_event
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
from openevsehttp.__main__ import OpenEVSE
from openevsehttp.exceptions import MissingSerial
Expand Down Expand Up @@ -99,7 +99,7 @@ async def homeassistant_started_listener(
"""Start tracking state changes after HomeAssistant has started."""
# Listen to sensor state changes so we can fire an event
hass.data[DOMAIN][config_entry.entry_id][UNSUB_LISTENERS].append(
async_track_state_change(
async_track_state_change_event(
hass,
sensors,
functools.partial(handle_state_change, hass, config_entry),
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "OpenEVSE",
"homeassistant": "2024.1.0b0",
"homeassistant": "2024.5.0b0",
"zip_release": true,
"filename": "openevse.zip",
"render_readme": true
Expand Down

0 comments on commit a0d0d66

Please sign in to comment.