mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -05:00
Put back real event now that touch works better
This commit is contained in:
@@ -37,11 +37,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleGarage() {
|
|
||||||
//homeAssistantStore.toggleGarage();
|
|
||||||
alert('Garage door toggled');
|
|
||||||
}
|
|
||||||
|
|
||||||
setInterval(() => (currentTime.value = new Date()), 1000);
|
setInterval(() => (currentTime.value = new Date()), 1000);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -116,7 +111,7 @@
|
|||||||
:duration="2000"
|
:duration="2000"
|
||||||
:increment="100"
|
:increment="100"
|
||||||
:progress-size="38"
|
:progress-size="38"
|
||||||
v-on:longPress="toggleGarage()"
|
v-on:longPress="homeAssistantStore.toggleGarage()"
|
||||||
:class="homeAssistantStore.garageState === 'closed' ? 'normal' : 'warning'">
|
:class="homeAssistantStore.garageState === 'closed' ? 'normal' : 'warning'">
|
||||||
<v-icon
|
<v-icon
|
||||||
class="kiosk-device-icon"
|
class="kiosk-device-icon"
|
||||||
|
|||||||
Reference in New Issue
Block a user