Skip to content

Commit

Permalink
Add label_id and floor_id to action.target object (#1511)
Browse files Browse the repository at this point in the history
* add label_id to action.target object

* Update src/ha/panels/lovelace/editor/structs/action-struct.ts

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
  • Loading branch information
hellow554 and piitaya authored Aug 21, 2024
1 parent 6152934 commit 75af465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ha/panels/lovelace/editor/structs/action-struct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const actionConfigStructService = object({
entity_id: optional(union([string(), array(string())])),
device_id: optional(union([string(), array(string())])),
area_id: optional(union([string(), array(string())])),
floor_id: optional(union([string(), array(string())])),
label_id: optional(union([string(), array(string())])),
})
),
confirmation: optional(actionConfigStructConfirmation),
Expand Down

0 comments on commit 75af465

Please sign in to comment.