-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Workday Integration fails in add_province_to_schema #92827
Comments
Hey there @fabaff, @gjohansson-ST, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) workday documentation |
I am also having this issue. I also live in Canada and cannot set this up. Interestingly, even when trying to use other counties like the Netherlands, this issue still shows up.
|
The problem
When adding Workday integration into HomeAssistant for Canada it fails with the message:
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/workday/config_flow.py", line 56, in add_province_to_schema
if not obj_holidays.subdivisions:
AttributeError: 'Canada' object has no attribute 'subdivisions'
I looked around and no provinces for Canada, nor states for the United States.
The same error happens if I select AT as the country.
I'm trying to migrate from the configuration.yaml where I had a very simple configuration.
What version of Home Assistant Core has the issue?
core-2023.5.2
What was the last working version of Home Assistant Core?
core-2023.4.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Workday
Link to integration documentation on our website
https://www.home-assistant.io/integrations/workday
Diagnostics information
None
Example YAML snippet
None
Anything in the logs that might be useful for us?
Additional information
Note the USA and AT also failed, so I don't believe it's due to just Canada.
Maybe I need to clear out a cache?
The text was updated successfully, but these errors were encountered: