Put back real event now that touch works better

This commit is contained in:
2024-12-20 17:19:53 +00:00
parent 7431cd2233
commit ba18ba2562

View File

@@ -37,11 +37,6 @@
}
}
function toggleGarage() {
//homeAssistantStore.toggleGarage();
alert('Garage door toggled');
}
setInterval(() => (currentTime.value = new Date()), 1000);
</script>
@@ -116,7 +111,7 @@
:duration="2000"
:increment="100"
:progress-size="38"
v-on:longPress="toggleGarage()"
v-on:longPress="homeAssistantStore.toggleGarage()"
:class="homeAssistantStore.garageState === 'closed' ? 'normal' : 'warning'">
<v-icon
class="kiosk-device-icon"