Allow use trigger/condition selector in config flows (#21431)

This commit is contained in:
dougiteixeira 2024-07-19 06:39:06 -03:00 committed by GitHub
parent d078807255
commit 38e7b8c467
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,8 @@ export const computeInitialHaFormData = (
data[field.name] = selector.color_temp?.min_mireds ?? 153;
} else if (
"action" in selector ||
"trigger" in selector ||
"condition" in selector ||
"media" in selector ||
"target" in selector
) {