Skip to content

Commit

Permalink
Fix import of Config for HA 2024.11.0b0
Browse files Browse the repository at this point in the history
The Config class moved to homeassistant.core_config in 2024.11.0b0.
  • Loading branch information
rccoleman authored Oct 30, 2024
1 parent 59b2011 commit 5f78208
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/pyscript/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
EVENT_STATE_CHANGED,
SERVICE_RELOAD,
)
from homeassistant.core import Config, Event as HAEvent, HomeAssistant, ServiceCall
from homeassistant.core import Event as HAEvent, HomeAssistant, ServiceCall
from homeassistant.core_config import Config
from homeassistant.exceptions import HomeAssistantError
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.restore_state import DATA_RESTORE_STATE
Expand Down

0 comments on commit 5f78208

Please sign in to comment.