Skip to content

Commit

Permalink
fix advance gap for devices
Browse files Browse the repository at this point in the history
  • Loading branch information
slesinger authored Apr 5, 2021
1 parent 7c9cbaf commit 2a8b61e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/predistribuce/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def is_on(self):
time_start = datetime.strptime(t, '%H:%M').time()
if time_now < time_start:
hdoTed = hdoNizkyVysoky[idx-1]
idxTed = idx
break

zacne = datetime.strptime(hdoCasyZacatky[idxTed], '%H:%M').time()
Expand Down

0 comments on commit 2a8b61e

Please sign in to comment.