Skip to content

Commit

Permalink
get the current temperature #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk1999s committed Feb 9, 2022
1 parent 02a4693 commit 0ba0a83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions simbev/simbevMiD.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ def availability(
date_im = date_im.date
date_now = date_im[im]
date_now = str(date_now.day) + '.' + str(date_now.month) + '.' + '2022'

temp_date = temperature['Datum']
temp_temp = temperature['Temperature']
for it in range(len(temperature)):
if temp_date[it] == date_now:
temperature_now = temp_temp[it]
# get car status
go = car_status[im]

Expand Down

0 comments on commit 0ba0a83

Please sign in to comment.