Added rfxtrx rollershutter (#2030)

* Added rfxtrx rollershutter

* Updated mock command with real one

* Corrected test string
This commit is contained in:
Jacob Tomlinson authored and Paulus Schoutsen committed 2016-06-02 00:39:58 -07:00
1 parent 26d3c3b0d6
commit ca7415e935
7 files changed
+327 -4

No files matched your search

+2 -1
View File
@@ -28,7 +28,8 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
def switch_update(event):
"""Callback for sensor updates from the RFXtrx gateway."""
if not isinstance(event.device, rfxtrxmod.LightingDevice) or \
event.device.known_to_be_dimmable:
event.device.known_to_be_dimmable or \
event.device.known_to_be_rollershutter:
return
new_device = rfxtrx.get_new_device(event, config, RfxtrxSwitch)