* Support group events for AC switches and binary sensors. Fixes #53065. * Review comments
This commit is contained in:
parent
952cb964c8
commit
87165d6133
6 changed files with 93 additions and 9 deletions
|
@ -19,6 +19,7 @@ COMMAND_ON_LIST = [
|
|||
"On",
|
||||
"Up",
|
||||
"Stop",
|
||||
"Group on",
|
||||
"Open (inline relay)",
|
||||
"Stop (inline relay)",
|
||||
"Enable sun automation",
|
||||
|
@ -26,11 +27,17 @@ COMMAND_ON_LIST = [
|
|||
|
||||
COMMAND_OFF_LIST = [
|
||||
"Off",
|
||||
"Group off",
|
||||
"Down",
|
||||
"Close (inline relay)",
|
||||
"Disable sun automation",
|
||||
]
|
||||
|
||||
COMMAND_GROUP_LIST = [
|
||||
"Group on",
|
||||
"Group off",
|
||||
]
|
||||
|
||||
ATTR_EVENT = "event"
|
||||
|
||||
SERVICE_SEND = "send"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue