{#if $bluetoothState == 'DISCONNECTED'} {:else if $bluetoothState == 'UNAVAILABLE'} Your Browser is not compatible with this website, as it does not support web bluetooth . Please use a browser which supports web bluetooth, for example {#if uap.getOS().name === 'iOS'} Bluefy {:else} Google Chrome {/if}. {:else if $bluetoothState == 'CONNECTED'} {:else} Connecting... {/if}