24 Commits

Author SHA1 Message Date
Christoph Giesche
4c32bd3b2a Updated dependency: axios 2025-06-17 15:36:47 +02:00
Timothy Lusk
83e7a154f2 Introduce vitest unit tests into the project 2025-02-22 02:30:18 -05:00
Timothy Lusk
f78a71e91d Only subscribe to updates for entities we're interested in
This uses a filter argument to the websocket subscription function to
only subscribe to entities that are currently being displayed on the
device screen.

The Home Assistant API for this is not currently implemented in the
client library so we needed to patch the library slightly.

For more details about this API see:
https://github.com/home-assistant/home-assistant-js-websocket/issues/511
2025-02-19 20:55:17 -05:00
Timothy Lusk
4c203c21b9 Migrate to the Stream Deck SDK and HomeAssistant WebSocket Client 2025-02-19 20:55:17 -05:00
Timothy Lusk
bba9424263 Migrate codebase to TypeScript 2025-01-12 20:20:08 -05:00
Timothy Lusk
edafad6627 Run prettier on all files in project
It looks like the files in this project haven't consistantly been run
through prettier. This gets them back in sync with the prettier
configuration.

We should setup a pre-commit hook that runs prettier so they don't get
out of sync again.
2025-01-05 20:26:21 -05:00
Timothy Lusk
679bdef4ef Update dev dependencies to latest versions 2025-01-05 20:22:02 -05:00
Christoph Giesche
389ee4d740 Added elgato CLI for packing and validation 2024-11-12 22:17:09 +01:00
Christoph Giesche
677ed6e232 Added elgato CLI for packing and validation 2024-11-12 22:12:51 +01:00
Christoph Giesche
8fc3c7361c Added elgato CLI for packing and validation 2024-11-12 21:56:19 +01:00
Christoph Giesche
4e1de77995 Convert active-states config to YAML format
The active-states configuration file has been converted from JSON to YAML format. This change includes deleting the existing JSON file, creating a new YAML file, and updating the dependencies and respective usages in the code by adding the js-yaml package. This modification aims to use YAML format to improve readability and ease of use.
2024-02-27 13:09:11 +01:00
Christoph Giesche
a6d40ca7f5 - Reimplemented button rendering based on config file. 2024-02-27 11:55:07 +01:00
Christoph Giesche
4b4de54a2e Added 'heat' as active state for image button. Enabled dynamic download of updated states at startup. 2024-02-12 12:39:29 +01:00
Christoph Giesche
c21d690024 Upgrade to vue3. Working state. 2023-09-25 22:07:20 +02:00
Christoph Giesche
ed481fb14f Updated versions 2023-01-02 17:06:19 +01:00
Christoph Giesche
8c263772ff Upgrade Dependencies 2022-12-19 15:09:59 +01:00
Christoph Giesche
157af5646a Upgrade Dependencies 2022-12-13 16:15:07 +01:00
Christoph Giesche
7a93d6ce8c Removed primitive svg generation (icons, labels).
General cleanup.
2021-06-27 23:12:37 +02:00
Christoph Giesche
19aac639d2 Merge pull request #37 from cgiesche/streamdeck-homeassistant-30
New configuration screen, Long press action
2021-04-30 23:51:58 +02:00
Christoph Giesche
2cc6e960de #34 #30
-Long-Press-Action
-Configuration screen redesign
2021-04-30 23:47:21 +02:00
Christoph Giesche
c1df06b098 streamdeck-homeassistant-29 Replace ninja-js by https://mozilla.github.io/nunjucks/ 2021-03-28 10:58:08 +02:00
Christoph Giesche
44c4969c32 Fixes #14: Replaced handlebars by jinja-js
Fixes #16: Button misconfiguration side effects removed, added warning
2021-02-20 21:31:33 +01:00
Christoph Giesche
7c9bacb581 Save point before total win or fubar :D 2021-01-15 20:45:32 +01:00
Christoph Giesche
bceb4b32b5 init 2020-12-31 17:51:04 +01:00