Add support gopro source

This commit is contained in:
Alex X
2023-11-15 07:36:09 +03:00
parent 54b19999c6
commit 9bda2f7e60
5 changed files with 204 additions and 0 deletions
+12
View File
@@ -246,6 +246,18 @@
</script>
<button id="gopro">GoPro</button>
<div class="module">
<table id="gopro-table"></table>
</div>
<script>
document.getElementById('gopro').addEventListener('click', async ev => {
ev.target.nextElementSibling.style.display = 'block';
await getSources('gopro-table', 'api/gopro');
});
</script>
<button id="hass">Home Assistant</button>
<div class="module">
<table id="hass-table"></table>