mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Fix strict error handling in developer tools templates (#12352)
This commit is contained in:
parent
0685fdf7c6
commit
f648317206
@ -20,6 +20,7 @@ export const subscribeRenderTemplate = (
|
||||
entity_ids?: string | string[];
|
||||
variables?: Record<string, unknown>;
|
||||
timeout?: number;
|
||||
strict?: boolean;
|
||||
}
|
||||
): Promise<UnsubscribeFunc> =>
|
||||
conn.subscribeMessage((msg: RenderTemplateResult) => onChange(msg), {
|
||||
|
@ -329,6 +329,7 @@ class HaPanelDevTemplate extends LitElement {
|
||||
{
|
||||
template: this._template,
|
||||
timeout: 3,
|
||||
strict: true,
|
||||
}
|
||||
);
|
||||
await this._unsubRenderTemplate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user