Validate generated condition (#27263)
This commit is contained in:
1 parent
0915d927df
commit
5d1dd6390d
5 files changed
+12
-16
No files matched your search
@@ -21,7 +21,7 @@ def async_condition_from_config(
|
||||
"""Evaluate state based on configuration."""
|
||||
if config_validation:
|
||||
config = CONDITION_SCHEMA(config)
|
||||
return toggle_entity.async_condition_from_config(config, config_validation)
|
||||
return toggle_entity.async_condition_from_config(config)
|
||||
|
||||
|
||||
async def async_get_conditions(hass: HomeAssistant, device_id: str) -> List[dict]:
|
||||
|
||||
Reference in new issue
Block a user