Skip to content

Commit 9c20762

Browse files
committed
SERVICE_HOMEASSISTANT_RESTART new location
1 parent dbcb5ab commit 9c20762

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

custom_components/patch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
import aiofiles.os
1111

1212
from homeassistant import config as config_utils
13+
from homeassistant.components.homeassistant import SERVICE_HOMEASSISTANT_RESTART
1314
from homeassistant.const import (
1415
CONF_BASE,
1516
CONF_DELAY,
1617
CONF_NAME,
17-
SERVICE_HOMEASSISTANT_RESTART,
1818
SERVICE_RELOAD,
1919
)
2020
import homeassistant.core as ha

hacs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Patch",
33
"filename": "patch.zip",
44
"hide_default_branch": true,
5-
"homeassistant": "2023.10.0",
5+
"homeassistant": "2023.11.0",
66
"render_readme": true,
77
"zip_release": true
88
}

tests/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
import pytest
1212
from freezegun.api import FrozenDateTimeFactory
1313

14+
from homeassistant.components.homeassistant import SERVICE_HOMEASSISTANT_RESTART
1415
from homeassistant.const import (
1516
CONF_BASE,
1617
CONF_DELAY,
1718
CONF_NAME,
18-
SERVICE_HOMEASSISTANT_RESTART,
1919
SERVICE_RELOAD,
2020
)
2121
import homeassistant.core as ha

0 commit comments

Comments
 (0)