MizterB / homeassistant-infinitude-beyond

Home Assistant custom component for controlling Carrier Infinity Touch thermostats through an Infinitude proxy server.
20 stars 4 forks source link

"Unexpected Error" During Initial Setup #1

Closed jmengit closed 7 months ago

jmengit commented 7 months ago

Getting "Unexpected Error" during initial setup of the integration (entered IP and port, pressed submit) -

Traceback (most recent call last):
  File "/config/custom_components/infinitude_beyond/config_flow.py", line 64, in async_step_user
    await validate_input(self.hass, user_input)
  File "/config/custom_components/infinitude_beyond/config_flow.py", line 43, in validate_input
    await infinitude.connect()
  File "/config/custom_components/infinitude_beyond/infinitude/api.py", line 177, in connect
    self.zones[zone_id]._update_activities()
  File "/config/custom_components/infinitude_beyond/infinitude/api.py", line 508, in _update_activities
    self._activity_scheduled = activity_scheduled
                               ^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'activity_scheduled' where it is not associated with a value
MizterB commented 7 months ago

Thanks for sharing. This should be addressed in 2024.3.2 (just released).

jmengit commented 7 months ago

Confirmed this was fixed. Closing the issue