{#if !ready}
{#if bootError}

{bootError}

{:else}

Chargement…

{/if}
{:else} {#if needsRefresh.value && !dayState.day}
Mise à jour disponible
{/if} {#if bootError}

{bootError}

{/if} {#if view === 'details'} {:else if view === 'automations'} {:else if view === 'non-working'} {:else if ['settings', 'automations', 'non-working'].includes(view)} {:else if view === 'today'} {:else if view === 'stats'} {:else} {/if} {/if}