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

@@ -37,6 +37,7 @@ async def async_setup_entry(
isinstance(event.device, rfxtrxmod.LightingDevice)
and not event.device.known_to_be_dimmable
and not event.device.known_to_be_rollershutter
or isinstance(event.device, rfxtrxmod.RfyDevice)
)
# Add switch from config file