# Bug: energy flow card fails when timespan goes from PM to AM

**URL:** <https://community.homey.app/t/bug-energy-flow-card-fails-when-timespan-goes-from-pm-to-am/142601>\
**Category:** Questions & Help\
**Created:** [September 4, 2025, 7:09pm UTC](https://community.homey.app/t/bug-energy-flow-card-fails-when-timespan-goes-from-pm-to-am/142601 "2025-09-04T19:09:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenssegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jenssegers/32/121735_2.png) [@jenssegers](https://community.homey.app/u/jenssegers)\
**Post date:** [September 4, 2025, 7:09pm UTC](https://community.homey.app/t/bug-energy-flow-card-fails-when-timespan-goes-from-pm-to-am/142601/1 "2025-09-04T19:09:39Z")

</div>

I have this flow that checks to only charge myc car during the cheapest hours in the night. However, when you pick a starting time in PM to an AM end time, the card fails.

If I set the start time to 00:00 it works.

 ![Screenshot 2025-09-04 at 21.07.27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/8592ea678a415024e9ddf063062904efdf560d9a.png)

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 4, 2025, 7:39pm UTC](https://community.homey.app/t/bug-energy-flow-card-fails-when-timespan-goes-from-pm-to-am/142601/2 "2025-09-04T19:39:51Z")

</div>

Not sure (as I am not using dynamic prices), but is it possible to reverse the flowcard and set it to `not between 8:00 and 20:00`?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [September 4, 2025, 8:27pm UTC](https://community.homey.app/t/bug-energy-flow-card-fails-when-timespan-goes-from-pm-to-am/142601/3 "2025-09-04T20:27:12Z")

</div>

If the I card (if you hover over the " i " symbol behind the “Energy” says somethine the like as “If the second time is earlier than the first time, it will be considered the next day” then it is a bug and you’ll have to contact [Athom support](https://homey.app/en-gb/support).  
If it says something that you “the times has to be on the same day” then there is your answer.
