Skip to content

Commit

Permalink
Fix sidebar weather
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8707 committed Apr 18, 2024
1 parent 4084e9a commit dca1b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Sidebar/Weather.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$: sensor = sel?.sensor && $states?.[sel?.sensor];
</script>

{#if entity?.state !== 'unavailable'}
{#if entity && entity?.state !== 'unavailable'}
<div class="container">
<div class="icon">
<!-- svelte-ignore a11y-missing-attribute -->
Expand Down

0 comments on commit dca1b0f

Please sign in to comment.