Skip to content

Commit

Permalink
Change state value, in this case we indicate next high or low tide time
Browse files Browse the repository at this point in the history
  • Loading branch information
Danieldiazi committed Sep 16, 2023
1 parent 4a7e0c3 commit 542d373
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/meteogalicia_tides/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ async def async_update(self) -> None:

hour = int(dt.now().strftime("%H"))
minute = int(dt.now().strftime("%M"))
hour = int ("06")
hourTide = marea.get("@hora").split(":")[0]
minuteTide = marea.get("@hora").split(":")[1]
if (hour > int(hourTide)) or (hour == int(hourTide) and (minute >=int(minuteTide))):
Expand Down

0 comments on commit 542d373

Please sign in to comment.