@digital-alchemy/hass 24.6.2 → 24.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -181,6 +181,26 @@ export type AndroidActionableNotification = {
|
|
|
181
181
|
car_ui?: boolean;
|
|
182
182
|
};
|
|
183
183
|
export type ActionableNotification = {
|
|
184
|
+
/**
|
|
185
|
+
* Android allows 3 actions.
|
|
186
|
+
* iOS allows around 10 actions.
|
|
187
|
+
*/
|
|
188
|
+
actions?: {
|
|
189
|
+
/**
|
|
190
|
+
* Key passed back in events.
|
|
191
|
+
* When set to `REPLY`, you will be prompted for text to send with the event.
|
|
192
|
+
*/
|
|
193
|
+
action: "REPLY" | "URI" | string;
|
|
194
|
+
/**
|
|
195
|
+
* Shown on the action button to the user.
|
|
196
|
+
*/
|
|
197
|
+
title: string;
|
|
198
|
+
/**
|
|
199
|
+
* The URI to open when selected.
|
|
200
|
+
* Android requires setting the action string to `URI` to use this key. [More Info](https://companion.home-assistant.io/docs/notifications/actionable-notifications/#uri-values).
|
|
201
|
+
*/
|
|
202
|
+
uri?: string;
|
|
203
|
+
};
|
|
184
204
|
/**
|
|
185
205
|
* The group to which the notification belongs.
|
|
186
206
|
* [More info](https://companion.home-assistant.io/docs/notifications/notifications-basic#grouping)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digital-alchemy/hass",
|
|
3
3
|
"repository": "https://github.com/Digital-Alchemy-TS/hass",
|
|
4
4
|
"homepage": "https://docs.digital-alchemy.app/Hass",
|
|
5
|
-
"version": "24.06.
|
|
5
|
+
"version": "24.06.3",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "rm -rf dist/; tsc",
|
|
8
8
|
"lint": "eslint src",
|