Skip to content

Commit 3d75d8b

Browse files
authored
Merge pull request #500 from rccoleman/patch-1
Fix import of Event
2 parents 716ffd7 + 71d0610 commit 3d75d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/pyscript/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from homeassistant.core import Config, HomeAssistant, ServiceCall
2525
from homeassistant.exceptions import HomeAssistantError
2626
import homeassistant.helpers.config_validation as cv
27-
from homeassistant.helpers.event import Event as HAEvent
27+
from homeassistant.core import Event as HAEvent
2828
from homeassistant.helpers.restore_state import DATA_RESTORE_STATE
2929
from homeassistant.loader import bind_hass
3030

0 commit comments

Comments
 (0)