-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It is possible to have no schedules on a Wiser hub, If this is the case then the api will not create all the properties and causes an error setting up the HA integration, with the following error:
Traceback (most recent call last): File “/config/custom_components/wiser/config_flow.py”, line 157, in async_step_zeroconf_confirm validated = await validate_input(self.hass, user_input) File “/config/custom_components/wiser/config_flow.py”, line 59, in validate_input wiser_id = wiser.system.name AttributeError: ‘NoneType’ object has no attribute ‘name’
Need amendment to allow properties to create is no schedules exist on hub.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working