Skip to content

Commit

Permalink
Skip warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8707 committed Jan 9, 2024
1 parent 20afa0e commit 2b36dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Modal/ButtonConfig.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
export let sel: ButtonItem;
export let demo: string | undefined = undefined;
$: entity = $states[sel?.entity_id!] as HassEntity;
$: entity = $states[sel?.entity_id as any] as HassEntity;
$: entity_id = entity?.entity_id;
if (demo) {
Expand Down

0 comments on commit 2b36dac

Please sign in to comment.