diff --git a/program/views.py b/program/views.py
index 29253c0f06946d70baa8978b024d3452a8258d00..5218ce7d521015e1f0b7116125c4be98aa8030be 100644
--- a/program/views.py
+++ b/program/views.py
@@ -198,11 +198,11 @@ def json_day_schedule(request, year=None, month=None, day=None):
     timeslots = TimeSlot.objects.get_24h_timeslots(today)
     schedule = []
     for ts in timeslots:
-	entry = { 'start': ts.start.strftime('%H:%M:%S'), 'title': ts.programslot.show.name, 'id': -1 }
+	entry = { 'start': ts.start.strftime('%H:%M:%S'), 'title': ts.programslot.show.name, 'id': ts.programslot.show.id, 'automation-id': -1 }
         if ts.programslot.automation_id:
-            entry['id'] = ts.programslot.automation_id
+            entry['automation-id'] = ts.programslot.automation_id
         elif ts.programslot.show.automation_id:
-            entry['id'] = ts.programslot.show.automation_id
+            entry['automation-id'] = ts.programslot.show.automation_id
 
 	schedule.append(entry)