def to_hass_config(data, config): return switch.core_to_hass_config(data, config)
def to_hass_config(data, config): return [ switch.core_to_hass_config(data, swi) for swi in config[CONF_SWITCHES] ]
def to_hass_config(data, config): return switch.core_to_hass_config(data, config)
def to_hass_config(data, config): return [ switch.core_to_hass_config(data, swi) for swi in config[CONF_SWITCHES] ]