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;
|
display: inline-flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
touch-action: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function toggleGarage() {
|
||||||
|
//homeAssistantStore.toggleGarage();
|
||||||
|
alert('Garage door toggled');
|
||||||
|
}
|
||||||
|
|
||||||
setInterval(() => (currentTime.value = new Date()), 1000);
|
setInterval(() => (currentTime.value = new Date()), 1000);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -111,7 +116,7 @@
|
|||||||
:duration="2000"
|
:duration="2000"
|
||||||
:increment="100"
|
:increment="100"
|
||||||
:progress-size="38"
|
:progress-size="38"
|
||||||
v-on:longPress="homeAssistantStore.toggleGarage()"
|
v-on:longPress="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