mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Revert "Force alias when importing scene PLATFORM_SCHEMA" (#120540)
Revert "Force alias when importing scene PLATFORM_SCHEMA (#120534)" This reverts commit 348ceca19f1fe5b45dadbbd7ec96093c64409a3f.
This commit is contained in:
parent
d5bcfe9822
commit
be7a2c2cc2
@ -5,10 +5,7 @@ from __future__ import annotations
|
||||
from typing import Any
|
||||
import uuid
|
||||
|
||||
from homeassistant.components.scene import (
|
||||
DOMAIN,
|
||||
PLATFORM_SCHEMA as SCENE_PLATFORM_SCHEMA,
|
||||
)
|
||||
from homeassistant.components.scene import DOMAIN, PLATFORM_SCHEMA
|
||||
from homeassistant.config import SCENE_CONFIG_PATH
|
||||
from homeassistant.const import CONF_ID, SERVICE_RELOAD
|
||||
from homeassistant.core import DOMAIN as HA_DOMAIN, HomeAssistant, callback
|
||||
@ -43,7 +40,7 @@ def async_setup(hass: HomeAssistant) -> bool:
|
||||
"config",
|
||||
SCENE_CONFIG_PATH,
|
||||
cv.string,
|
||||
SCENE_PLATFORM_SCHEMA,
|
||||
PLATFORM_SCHEMA,
|
||||
post_write_hook=hook,
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user