Rename zwave_js trigger helper to avoid confusion (#78331)
* Rename zwave_js trigger helper to avoid confusion * Fix testpull/78245/head
parent
9b0602a8b6
commit
93a5b99191
|
@ -31,7 +31,7 @@ from ..helpers import (
|
|||
get_device_id,
|
||||
get_home_and_node_id_from_device_entry,
|
||||
)
|
||||
from .helpers import async_bypass_dynamic_config_validation
|
||||
from .trigger_helpers import async_bypass_dynamic_config_validation
|
||||
|
||||
# Platform type should be <DOMAIN>.<SUBMODULE_NAME>
|
||||
PLATFORM_TYPE = f"{DOMAIN}.{__name__.rsplit('.', maxsplit=1)[-1]}"
|
||||
|
|
|
@ -30,7 +30,7 @@ from ..const import (
|
|||
DOMAIN,
|
||||
)
|
||||
from ..helpers import async_get_nodes_from_targets, get_device_id
|
||||
from .helpers import async_bypass_dynamic_config_validation
|
||||
from .trigger_helpers import async_bypass_dynamic_config_validation
|
||||
|
||||
# Platform type should be <DOMAIN>.<SUBMODULE_NAME>
|
||||
PLATFORM_TYPE = f"{DOMAIN}.{__name__.rsplit('.', maxsplit=1)[-1]}"
|
||||
|
|
|
@ -10,7 +10,7 @@ from zwave_js_server.model.node import Node
|
|||
from homeassistant.components import automation
|
||||
from homeassistant.components.zwave_js import DOMAIN
|
||||
from homeassistant.components.zwave_js.trigger import async_validate_trigger_config
|
||||
from homeassistant.components.zwave_js.triggers.helpers import (
|
||||
from homeassistant.components.zwave_js.triggers.trigger_helpers import (
|
||||
async_bypass_dynamic_config_validation,
|
||||
)
|
||||
from homeassistant.const import SERVICE_RELOAD
|
||||
|
|
Loading…
Reference in New Issue