Fix allday events in custom_calendars (#11272)

This commit is contained in:
maxlaverse authored and Martin Hjelmare committed 2017-12-22 14:08:34 +01:00
1 parent 295caeb065
commit 46df91ff45
2 files changed
+4 -2

No files matched your search

+1 -2
View File
@@ -25,7 +25,6 @@ CONF_DEVICE_ID = 'device_id'
CONF_CALENDARS = 'calendars'
CONF_CUSTOM_CALENDARS = 'custom_calendars'
CONF_CALENDAR = 'calendar'
CONF_ALL_DAY = 'all_day'
CONF_SEARCH = 'search'
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
@@ -89,7 +88,7 @@ def setup_platform(hass, config, add_devices, disc_info=None):
WebDavCalendarEventDevice(hass,
device_data,
calendar,
cust_calendar.get(CONF_ALL_DAY),
True,
cust_calendar.get(CONF_SEARCH))
)