Skip to content

Commit 19aac63

Browse files
authored
Merge pull request #37 from cgiesche/streamdeck-homeassistant-30
New configuration screen, Long press action
2 parents 5100f9f + 2cc6e96 commit 19aac63

File tree

13 files changed

+532
-173
lines changed

13 files changed

+532
-173
lines changed

README.md

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ service that does not need any more information but the entity id.
3535
# Configuration
3636
There are two sections on the plugin's cofiguration panel:
3737
* Home Assistant Settings
38-
Contains global settings for your Home Assistant installation. Once saved, the settings are valid for all Buttons.
39-
* Entity Settings
38+
Contains global settings for your Home Assistant installation. Once saved, the settings are used for all stream deck Buttons.
39+
* Entity Settings
4040
Contains settings for an individual button.
4141

4242
## Home Assistant Settings
@@ -52,7 +52,8 @@ After you saved your Home Assistant Settings, the plugin will automatically try
5252
### Basic configuration
5353
* Domain: Home Assistant entities are grouped by domains. Select the domain (for example "switch") of an entity, you want to configure.
5454
* Entity: This is the actual entity you are going to configure (for example "Kitchen Light")
55-
* Service: The service that will be called every time you press the StreamDeck button for this entity.
55+
* Service: The service that will be called every time you press the StreamDeck button.
56+
* Service (long press): The service that will be called every time you press and hold the StreamDeck button for more than 300ms.
5657
* Service Data JSON: JSON formatted data that is sent with your service call when you press a button.
5758
Example:
5859
```
@@ -79,25 +80,3 @@ After you hit the save button, the button should immediately show the new config
7980
# Happy? Consider to donating me a coffee :)
8081
[![buy me a coffee](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/donate?hosted_button_id=3UKRJEJVWV9H4)
8182

82-
## Project setup
83-
```
84-
npm install
85-
```
86-
87-
### Compiles and hot-reloads for development
88-
```
89-
npm run serve
90-
```
91-
92-
### Compiles and minifies for production
93-
```
94-
npm run build
95-
```
96-
97-
### Lints and fixes files
98-
```
99-
npm run lint
100-
```
101-
102-
### Customize configuration
103-
See [Configuration Reference](https://cli.vuejs.org/config/).

doc/entity_settings.png

-11.8 KB
Loading

doc/example.png

9.22 KB
Loading

doc/ha_settings.png

5.04 KB
Loading

package-lock.json

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"lint": "vue-cli-service lint"
1010
},
1111
"dependencies": {
12+
"bootstrap": "^4.6.0",
13+
"bootstrap-vue": "^2.21.2",
14+
"bootswatch": "^4.6.0",
1215
"core-js": "^3.6.5",
1316
"nunjucks": "^3.2.3",
1417
"vue": "^2.6.11"

public/pi.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
name=viewport>
77
<meta content=yes name=apple-mobile-web-app-capable>
88
<meta content=black name=apple-mobile-web-app-status-bar-style>
9-
<link rel="stylesheet" href="css/sdpi.css">
109
<title>HomeAssistant Plugin PI</title>
1110
</head>
1211
<body>

0 commit comments

Comments
 (0)