Make rfxtrx RfyDevices have sun automation switches (#38210)

* RfyDevices have sun automation

* We must accept sun automation commands for switch

* Add test for Rfy sun automation
This commit is contained in:
Joakim Plate authored and GitHub committed 2020-07-25 22:56:58 +02:00
1 parent 85c856cfa3
commit fd11748a1a
3 files changed
+21

No files matched your search

+2
View File
@@ -7,12 +7,14 @@ COMMAND_ON_LIST = [
"Stop",
"Open (inline relay)",
"Stop (inline relay)",
"Enable sun automation",
]
COMMAND_OFF_LIST = [
"Off",
"Down",
"Close (inline relay)",
"Disable sun automation",
]
ATTR_EVENT = "event"