Use !input instead of !placeholder (#43820)
* Use !input instead of !placeholder * Update input name * Lint * Move tests around
This commit is contained in:
parent
7d23ff6511
commit
1c9c99571e
23 changed files with 148 additions and 139 deletions
|
@ -11,7 +11,7 @@ import yaml
|
|||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
from .const import _SECRET_NAMESPACE, SECRET_YAML
|
||||
from .objects import NodeListClass, NodeStrClass, Placeholder
|
||||
from .objects import Input, NodeListClass, NodeStrClass
|
||||
|
||||
try:
|
||||
import keyring
|
||||
|
@ -331,4 +331,4 @@ yaml.SafeLoader.add_constructor("!include_dir_named", _include_dir_named_yaml)
|
|||
yaml.SafeLoader.add_constructor(
|
||||
"!include_dir_merge_named", _include_dir_merge_named_yaml
|
||||
)
|
||||
yaml.SafeLoader.add_constructor("!placeholder", Placeholder.from_node)
|
||||
yaml.SafeLoader.add_constructor("!input", Input.from_node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue