mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remove optional validation when creating conditions (#60481)
This commit is contained in:
@@ -714,7 +714,7 @@ async def _async_process_if(hass, name, config, p_config):
|
||||
checks = []
|
||||
for if_config in if_configs:
|
||||
try:
|
||||
checks.append(await condition.async_from_config(hass, if_config, False))
|
||||
checks.append(await condition.async_from_config(hass, if_config))
|
||||
except HomeAssistantError as ex:
|
||||
LOGGER.warning("Invalid condition: %s", ex)
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user