Fix yaml editor save in config-flow (#26963)

This commit is contained in:
Wendelin
2025-09-09 09:25:06 +02:00
committed by GitHub
parent dff3b82f0d
commit e9ca1758a0
3 changed files with 5 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ export default class HaAutomationTriggerEditor extends LitElement {
if (!ev.detail.isValid) {
return;
}
fireEvent(this, "yaml-changed", {
fireEvent(this, this.inSidebar ? "yaml-changed" : "value-changed", {
value: migrateAutomationTrigger(ev.detail.value),
});
}