Rfxtrx config validating (#1747)

* config validation

* Config validation of rfxtrx switch

* Config validation of rfxtrx light

* Config validation of rfxtrx

* Config validation of rfxtrx
This commit is contained in:
Daniel Høyer Iversen authored and Paulus Schoutsen committed 2016-04-08 20:55:31 -07:00
1 parent d6abdc0d4e
commit cac555fc69
6 files changed
+303 -273

No files matched your search

@@ -6,6 +6,7 @@ https://home-assistant.io/components/switch.rfxtrx/
"""
import logging
import homeassistant.components.rfxtrx as rfxtrx
from homeassistant.components.switch import SwitchDevice
@@ -13,6 +14,8 @@ DEPENDENCIES = ['rfxtrx']
_LOGGER = logging.getLogger(__name__)
PLATFORM_SCHEMA = rfxtrx.DEFAULT_SCHEMA
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
"""Setup the RFXtrx platform."""