# "It's daytime" not precise

**URL:** https://community.homey.app/t/its-daytime-not-precise/110202
**Category:** Questions & Help
**Created:** [May 21, 2024, 2:58am UTC](https://community.homey.app/t/its-daytime-not-precise/110202 "2024-05-21T02:58:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Dawid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dawid/32/80637_2.png) [@Dawid](https://community.homey.app/u/Dawid)
#### Post date: [May 21, 2024, 2:58am UTC](https://community.homey.app/t/its-daytime-not-precise/110202/1 "2024-05-21T02:58:42Z")

</div>

Hi. I’m using “It’s daytime” block in several of my automations, but it seems that it’s not precise.

 ![1000011380](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/45436dbf62084666d9a42ad073b82ec2c61e0a2f.png)

Example:  
It’s 4:06 AM  
Sunrise this day is at 4:32 AM  
“It’s daytime” block returns “true” in this situation, but shouldn’t (yet).

Is it bug or I don’t understand how it works?

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [May 21, 2024, 5:08am UTC](https://community.homey.app/t/its-daytime-not-precise/110202/2 "2024-05-21T05:08:27Z")

</div>

The info text says that daytime means “between dawn and dusk”:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1b69b6b142bc2c31a346005db83c2b88ddf2587f.png)

Dawn occurs before sunrise.

However, daytime is defined as the period between sunrise and sunset, so the card is wrong.

---

<div class="post-metadata">

### Author: ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)
#### Post date: [May 21, 2024, 6:06am UTC](https://community.homey.app/t/its-daytime-not-precise/110202/3 "2024-05-21T06:06:38Z")

</div>

Also there are on Homey 2 difference sunrise en sunset times.

1. The card sunrise en sunset times.
2. Tag/token sunrise en sunset times.  
Time difference can be up to 3 minutes.

From my timeline

20-05-2024 21:36  
Zon onder.  
Tag 21:37  
mei 20 2024 21:36:00

21-05-2024 05:43  
Zon op.  
Tag 05:42  
mei 21 2024 05:43:00

Lucky now only 1 minute. 😉

That’s why I would like to see that time cards have a tag possibility beside the xx:xx.  
From which app you want to use the sunrise en sunset times, you can take there tag time.

---

<div class="post-metadata">

### Author: ![Dawid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dawid/32/80637_2.png) [@Dawid](https://community.homey.app/u/Dawid)
#### Post date: [May 21, 2024, 9:08am UTC](https://community.homey.app/t/its-daytime-not-precise/110202/4 "2024-05-21T09:08:53Z")

</div>

I saw this tooltip, but I didn’t realized that “sunrise and sunset” is not the same as “dawn and dusk”.  
That explains everything.

Today dawn in my location is at 3:47 AM, so it seems that flows are working correctly.

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [May 21, 2024, 9:09am UTC](https://community.homey.app/t/its-daytime-not-precise/110202/5 "2024-05-21T09:09:59Z")

</div>

> [@Dawid](#):
>
> I saw this tooltip, but I didn’t realized that “sunrise and sunset” is not the same as “dawn and dusk”.

I got the impression that Athom also doesn’t know there’s a difference 😅
