[Feature Request] Use zone active/inactive duration in flows (in seconds)

Also check this app

IMG_3130