# Flowcard with time as arguments

**URL:** <https://community.homey.app/t/flowcard-with-time-as-arguments/94797>\
**Category:** Flows\
**Created:** [November 16, 2023, 10:29am UTC](https://community.homey.app/t/flowcard-with-time-as-arguments/94797 "2023-11-16T10:29:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 16, 2023, 6:40pm UTC](https://community.homey.app/t/flowcard-with-time-as-arguments/94797/2 "2023-11-16T18:40:25Z")

</div>

Hi Jan,

Can you tell us the idea / wish behind your question? Maybe there’s other ways to go

To answer your Q, this might help you quite a bit:

> [@Get historic variable value](https://community.homey.app/t/get-historic-variable-value/79120/5):
>
> You can emulate most AND & THEN flowcards in Homeyscript.  
> Check `example-flowcard-run` on how to do that.  
> When you run `example-flowcard-list` it will return all And & Then cards available on _your_ Homey  
> → you can search for the Power by the Hour card ‘Then’ ‘Current price is one of the X lowest, between hour X and hour Y’  
> (_this script can take quite a while to finish, remove the ‘And’ part in order to show the ‘Then’ part results way more quicker_)
> 
> ![Screenshot_20231116-184922_Firefox](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/2/a2818a6d1e5a8a3afbde90c4c13c94a443e1451c.jpeg)

---

_[View the full topic](https://community.homey.app/t/flowcard-with-time-as-arguments/94797)._
