Rename zwave_js trigger helper to avoid confusion (#78331)

* Rename zwave_js trigger helper to avoid confusion

* Fix test
pull/78245/head
Marc Mueller 2022-09-13 00:36:05 +02:00 committed by GitHub
parent 9b0602a8b6
commit 93a5b99191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -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]}"

View File

@ -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]}"

View File

@ -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