Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No First date field in "every-n-days" #420

Closed
3 tasks done
WiktorBuczko opened this issue Jul 29, 2022 · 7 comments
Closed
3 tasks done

No First date field in "every-n-days" #420

WiktorBuczko opened this issue Jul 29, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@WiktorBuczko
Copy link

Before you submit a new bug report, please check that

Describe the bug

On step 1 configuring new garbage collection I chose every-n-days. On step 2 there should be First Date field but it is not there. Clicking submit shows error message User input malformed: Could not parse date for dictionary value @ data['first_date'
Zrzut ekranu 2022-07-29 o 10 46 31
Zrzut ekranu 2022-07-29 o 10 46 05
Zrzut ekranu 2022-07-29 o 10 45 48
]

Configuration

There is no Garbage collection device here, it redirects me to create new helper.

Debug logs

In logs there is no mention of new added sensor, only of already added and working sensors.
2022-07-29 11:04:23 DEBUG (MainThread) [custom_components.garbage_collection] Setting Wywóz śmieci segergowanych (every-n-weeks) from ConfigFlow
2022-07-29 11:04:23 DEBUG (MainThread) [custom_components.garbage_collection] Setting Wywóz śmieci zmieszanych (every-n-weeks) from ConfigFlow
2022-07-29 11:04:23 DEBUG (MainThread) [custom_components.garbage_collection] Setting test śmieci (weekly) from ConfigFlow
2022-07-29 11:04:23 DEBUG (MainThread) [custom_components.garbage_collection.sensor] Creating garbage_collection calendar
2022-07-29 11:04:36 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci segergowanych) Calling update
2022-07-29 11:04:36 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci segergowanych) Dates loaded, firing a garbage_collection_loaded event
2022-07-29 11:04:45 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform rest is taking over 10 seconds.
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called remove_date 2022-05-03 from sensor.wywoz_smieci_segregowanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci zmieszanych) Calling update
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci zmieszanych) Dates loaded, firing a garbage_collection_loaded event
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (test śmieci) Calling update
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (test śmieci) Dates loaded, firing a garbage_collection_loaded event
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (test śmieci) Looking for next collection
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (test śmieci) next_date (2022-08-03), today (2022-07-29)
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (test śmieci) Found next collection date: 03-Aug-2022, that is in 5 days
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called remove_date 2022-05-03 from sensor.wywoz_smieci_zmieszanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called remove_date 2022-11-01 from sensor.wywoz_smieci_segregowanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called remove_date 2022-11-01 from sensor.wywoz_smieci_zmieszanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called add_date 2022-05-05 from sensor.wywoz_smieci_segregowanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called add_date 2022-05-06 from sensor.wywoz_smieci_zmieszanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called add_date 2022-11-03 from sensor.wywoz_smieci_segregowanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called add_date 2022-11-04 from sensor.wywoz_smieci_zmieszanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection] called update_state for sensor.wywoz_smieci_segregowanych
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci segergowanych) Looking for next collection
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci segergowanych) next_date (2022-08-09), today (2022-07-29)
2022-07-29 11:04:45 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci segergowanych) Found next collection date: 9 Aug, that is in 11 days
2022-07-29 11:04:45 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 403
2022-07-29 11:04:46 DEBUG (MainThread) [custom_components.garbage_collection] called update_state for sensor.wywoz_smieci_zmieszanych
2022-07-29 11:04:46 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci zmieszanych) Looking for next collection
2022-07-29 11:04:46 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci zmieszanych) next_date (2022-08-09), today (2022-07-29)
2022-07-29 11:04:46 DEBUG (MainThread) [custom_components.garbage_collection.sensor] (Wywóz śmieci zmieszanych) Found next collection date: 9 August, that is in 11 days
@WiktorBuczko WiktorBuczko added the bug Something isn't working label Jul 29, 2022
@bruxy70
Copy link
Owner

bruxy70 commented Jul 29, 2022

Interesting, I have that on the second screen, cannot replicate the issue.
image

@WiktorBuczko
Copy link
Author

I have tried different browser (Firefox on Mac) and it worked. First date field didn't showed up in companion app on iOS and macOS and in Safari.

@ZuluWhiskey
Copy link

I am also having this issue, Companion App and Chrome on my iPhone
image
image

@ND1988
Copy link

ND1988 commented Dec 17, 2022

me too
image

@bruxy70 bruxy70 reopened this Dec 19, 2022
bruxy70 pushed a commit that referenced this issue Dec 19, 2022
@bruxy70
Copy link
Owner

bruxy70 commented Dec 19, 2022

Interesting. Can you please try 4.10.2b1? This should fix it. Thanks!

@ND1988
Copy link

ND1988 commented Dec 19, 2022

Worked from iPhone now,
But my issue came up on a Windows PC with Chrome, will check that tomorrow.

@ND1988
Copy link

ND1988 commented Dec 20, 2022

Worked from Windows PC with Chrome, can be closed from my side.

@bruxy70 bruxy70 closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants