Core: OZW is causing error on startup - Missing async_step_hassio

Created on 16 Jun 2020  路  5Comments  路  Source: home-assistant/core

The problem


Since 111 the error has appeared in my logs at startup. As far as I can see it is triggered by OZW.

Environment

  • Home Assistant Core release with the issue: 0.111.3
  • Last working Home Assistant Core release (if known): 0.110.7
  • Operating environment (Home Assistant/Supervised/Docker/venv): Hassio/Ubuntu/Parallels/Mac
  • Integration causing this issue: OZW
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/ozw

Problem-relevant configuration.yaml

            {
                "connection_class": "local_push",
                "data": {},
                "domain": "ozw",
                "entry_id": "44e3c3d30a0b4c73a7860d42daea5c15",
                "options": {},
                "source": "user",
                "system_options": {
                    "disable_new_entities": false
                },
                "title": "OpenZWave",
                "unique_id": null,
                "version": 1
            },

Traceback/Error logs

2020-06-16 12:18:31 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/discovery.py", line 97, in async_process_new
    service, context={"source": "hassio"}, data=config_data
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 129, in async_init
    flow, flow.init_step, data, init_done
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 197, in _async_handle_step
    f"Handler {flow.__class__.__name__} doesn't support step {step_id}"
homeassistant.data_entry_flow.UnknownStep: Handler DomainConfigFlow doesn't support step hassio

Additional information

I tried adding async_step_hassio to relevant config_flow.py, which then changed the error indicating that core was trying to call that method, but not sure what should be the content of that step to remove the original error.

ozw

Most helpful comment

Adding a small note to this for the OZW team:

This is automatically fixed with core 0.112, as there is default handling for this now.

All 5 comments

Adding a small note to this for the OZW team:

This is automatically fixed with core 0.112, as there is default handling for this now.

Hey there @cgarwood, @marcelveldt, @MartinHjelmare, mind taking a look at this issue as its been labeled with a integration (ozw) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

Thanks frenck if it is fixed in 0.112, this can be closed if there is no need to fix from the OZWNode team.

Thanks for reporting!

Having the same issues, running 111.4:

Error Log:
Logger: homeassistant.core
Source: data_entry_flow.py:197
First occurred: 10:54:26 AM (1 occurrences)
Last logged: 10:54:26 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/hassio/discovery.py", line 97, in async_process_new
service, context={"source": "hassio"}, data=config_data
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 129, in async_init
flow, flow.init_step, data, init_done
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 197, in _async_handle_step
f"Handler {flow.__class__.__name__} doesn't support step {step_id}"
homeassistant.data_entry_flow.UnknownStep: Handler DomainConfigFlow doesn't support step hassio

Was this page helpful?
0 / 5 - 0 ratings

Related issues

i-am-shodan picture i-am-shodan  路  3Comments

arangates picture arangates  路  3Comments

TheZoker picture TheZoker  路  3Comments

Konstigt picture Konstigt  路  3Comments

kirichkov picture kirichkov  路  3Comments