mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -05:00
Temporary alert for touch testing
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
touch-action: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -37,6 +37,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
function toggleGarage() {
|
||||
//homeAssistantStore.toggleGarage();
|
||||
alert('Garage door toggled');
|
||||
}
|
||||
|
||||
setInterval(() => (currentTime.value = new Date()), 1000);
|
||||
</script>
|
||||
|
||||
@@ -111,7 +116,7 @@
|
||||
:duration="2000"
|
||||
:increment="100"
|
||||
:progress-size="38"
|
||||
v-on:longPress="homeAssistantStore.toggleGarage()"
|
||||
v-on:longPress="toggleGarage()"
|
||||
:class="homeAssistantStore.garageState === 'closed' ? 'normal' : 'warning'">
|
||||
<v-icon
|
||||
class="kiosk-device-icon"
|
||||
|
||||
Reference in New Issue
Block a user