You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node-RED (18.1.1), Home Assistant Google Drive Backup (0.112.1), Whisper (2.2.0), Piper (1.5.2), ESPHome (2024.10.0), Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.2-1), Govee to MQTT Bridge (2024.07.13-82ddc6e9), Samba share (12.3.2), Portainer (2.22.0-3), Frigate (Full Access) (0.14.1), MQTT Explorer (browser-1.0.3), openWakeWord (1.10.0)
Dashboards
dashboards
6
resources
25
views
22
mode
storage
Recorder
oldest_recorder_run
October 10, 2024 at 5:30 AM
current_recorder_run
October 18, 2024 at 7:06 AM
estimated_db_size
407.10 MiB
database_engine
sqlite
database_version
3.45.3
Sonoff
version
3.8.1 (ffa7e22)
cloud_online
0 / 1
local_online
0 / 0
Spotify
api_endpoint_reachable
ok
Checklist
I have enabled debug logging for my installation.
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of currently previous issues..
Describe the issue
Chores set to be due AFTER X days are not working correctly. (I have not yet tested chores set for after x weeks/months/etc. only the after x days options.)
When a chore is set to be due after X days, the next due date after completion is not set to be due X days after completion, but instead X days after the previous due date. Essentially working exactly the same as if it was configured for every X days.
Example:
Chore due after 7 days:
Initial due date of 10/14/2024.
Completed on 10/18/2024.
This should have an expected new due date of:
10/25/2024
(Completed on 18 +7 days after =25).
However, the chore instead is showing a new due date of:
10/21/2024
(previous due date 14 + 7 = 21).
Reproduction steps
Create a new chore.
Set chore as AFTER X Days
Set interval to 7 (number does not appear to matter)
Set initial due date to any day of choice - My date was 10/14/24
Complete newly created chore.
I used a auto entry card on the dashboard with the action to complete the chore.
After completing chore, the due date will update.
Review new due date
In all my testing the due date is not set 7 days after the COMPLETED date, but instead 7 days from the previous DUE date.
This shows the due dates not working correctly for the 'after' feature.
Chore Configuration:
Chore After Creation:
Chore After Completion:
Expected due date to be 10/25 (as 18+7=25), but instead shows due 10/21 (original due date of 14+7=22)
Debug logs
2024-10-18 09:03:43.506 DEBUG (MainThread) [custom_components.chore_helper] Setting After 7 Days (after-n-days) from ConfigFlow
2024-10-18 09:03:43.506 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) Calling update
2024-10-18 09:03:43.507 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) Dates loaded, firing a chore_helper_loaded event
2024-10-18 09:03:43.507 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) Looking for next chore date
2024-10-18 09:03:43.507 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) next_due_date (2024-10-15), today (2024-10-18)
2024-10-18 09:03:43.507 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) Found next chore date: 2024-10-15, that is in -3 days
2024-10-18 09:04:20.359 DEBUG (MainThread) [custom_components.chore_helper] called complete for sensor.after_7_days
2024-10-18 09:04:20.359 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) Looking for next chore date
2024-10-18 09:04:20.359 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) next_due_date (2024-10-22), today (2024-10-18)
2024-10-18 09:04:20.359 DEBUG (MainThread) [custom_components.chore_helper] (After 7 Days) Found next chore date: 2024-10-22, that is in 4 days
Diagnostics dump
Was unable to retrieve any diagnostic dump for the chore helpers.
The text was updated successfully, but these errors were encountered:
I believe this has been occurring for a while now (potentially a month or more), but had not tested/dove into it to be sure until today.
I have several chores set to after X days, today when completing several, I noticed they were all set to incorrect next due dates. Began doing further testing after this discovery.
One chore I have is due after 2 days. I often complete this chore one day over due, then it frequently shows me due in one day instead of 2. This had been ongoing for some time, but had never bothered me enough to look into it further. Unfortunately, because of that, I'm not sure exactly when this started.
Also experiancing this. After completing the chore it acts like 'Every', i then go check the settings and it is set up properly, click submit though and it will refresh to show correctly...
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Sonoff
Spotify
Checklist
Describe the issue
Chores set to be due AFTER X days are not working correctly.
(I have not yet tested chores set for after x weeks/months/etc. only the after x days options.)
When a chore is set to be due after X days, the next due date after completion is not set to be due X days after completion, but instead X days after the previous due date. Essentially working exactly the same as if it was configured for every X days.
Example:
Chore due after 7 days:
This should have an expected new due date of:
However, the chore instead is showing a new due date of:
Reproduction steps
This shows the due dates not working correctly for the 'after' feature.
Chore Configuration:
![Screenshot 2024-10-18 091728](https://private-user-images.githubusercontent.com/10678794/377901906-01b2b9d7-0052-43d2-8a4d-a300ce9e1b2b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NDA5ODAsIm5iZiI6MTczODg0MDY4MCwicGF0aCI6Ii8xMDY3ODc5NC8zNzc5MDE5MDYtMDFiMmI5ZDctMDA1Mi00M2QyLThhNGQtYTMwMGNlOWUxYjJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDExMTgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1YjkyNjM4YTcyYjEzOTBmYjVhZWYyNjJmNzc0Y2RjNDQyNjIyYWE4MDlkMjdlZDM4NzQ4NDUxNjZhOTVmZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.esqfMwp91gr0z3l33h15woWfOnJUV50jUd0jSj0fg2Y)
![image](https://private-user-images.githubusercontent.com/10678794/377901785-8cd5f5f5-9f5f-48f9-adfd-20ae8d02f3ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NDA5ODAsIm5iZiI6MTczODg0MDY4MCwicGF0aCI6Ii8xMDY3ODc5NC8zNzc5MDE3ODUtOGNkNWY1ZjUtOWY1Zi00OGY5LWFkZmQtMjBhZThkMDJmM2VhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDExMTgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5OGY2ZjU4MWI2NmViN2EwMTIxYmNlNzdkNTgzZmI3NGUwZDY5NzFkZmVmNjgzYTZhYmVkYzBjNjdiOWY4NzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.gyz9cFC-6_fgiMW_yvcEIJHAv26cYYI6FHPaaXiIu28)
Chore After Creation:
![Screenshot 2024-10-18 090411](https://private-user-images.githubusercontent.com/10678794/377902015-6a7fbd2f-a7d8-45f3-8e2a-4a03632af4bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NDA5ODAsIm5iZiI6MTczODg0MDY4MCwicGF0aCI6Ii8xMDY3ODc5NC8zNzc5MDIwMTUtNmE3ZmJkMmYtYTdkOC00NWYzLThlMmEtNGEwMzYzMmFmNGJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDExMTgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFhNjFhMWQxZDMzOGU3M2JmZDI0MmM4M2I0MmE5YmVhYzg1YTBhY2JiM2JjODc3ZDJkZDQ3YmNhYzgwN2ZhYmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rDPOPED7ucO_4lLPMbz-FxgYT2a7DRaDi0Kh0lCfiQ4)
Chore After Completion:
![Screenshot 2024-10-18 090437](https://private-user-images.githubusercontent.com/10678794/377902151-4b772f6c-3b92-4f9a-b2e2-f5aee472b7d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NDA5ODAsIm5iZiI6MTczODg0MDY4MCwicGF0aCI6Ii8xMDY3ODc5NC8zNzc5MDIxNTEtNGI3NzJmNmMtM2I5Mi00ZjlhLWIyZTItZjVhZWU0NzJiN2Q4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDExMTgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3ZGZlMWUwMjFjZWM0ZjY4ZDk2NWI4NmMyZTQ1MTk3YTYxNjQ0ZTk3NWVmZDJmZWZiMTQ3NWMyMmFlY2QxNTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.s1sJJYEkZSySCGsdnsINdyzIlSpvk7VnPXwimfyqTeU)
Expected due date to be 10/25 (as 18+7=25), but instead shows due 10/21 (original due date of 14+7=22)
Debug logs
Diagnostics dump
Was unable to retrieve any diagnostic dump for the chore helpers.
The text was updated successfully, but these errors were encountered: