diff --git a/components/i_feed/i_feed.py b/components/i_feed/i_feed.py index e60367f..4c9dff2 100644 --- a/components/i_feed/i_feed.py +++ b/components/i_feed/i_feed.py @@ -19,12 +19,14 @@ if __name__ == '__main__': response = requests.get(ENTITY_IDENT_URL + 'traffic_lights') traffic_lights = response.json() + print('Traffic lights', traffic_lights['cursor']) for traffic_light in traffic_lights['cursor']: print(traffic_light) TrafficLight(tlid=traffic_light['id'], switching_time=traffic_light['switchingTime']).start() time.sleep(1) + print('Cars', cars['cursor']) for car in cars['cursor']: print(car) Vehicle(vin=car['vin']).start_driving()