Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

NoneType not callable error when updating config options #37

Closed
mjmeli opened this issue Nov 7, 2021 · 0 comments · Fixed by #46
Closed

NoneType not callable error when updating config options #37

mjmeli opened this issue Nov 7, 2021 · 0 comments · Fixed by #46

Comments

@mjmeli
Copy link
Owner

mjmeli commented Nov 7, 2021

Error when updating configuration options, intermittent

Logger: homeassistant
Source: custom_components/duke_energy_gateway/coordinator.py:133
Integration: Duke Energy Gateway (documentation, issues)
First occurred: 9:23:53 AM (1 occurrences)
Last logged: 9:23:53 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/duke_energy_gateway/__init__.py", line 119, in async_reload_entry
    await async_unload_entry(hass, entry)
  File "/config/custom_components/duke_energy_gateway/__init__.py", line 112, in async_unload_entry
    coordinator.async_realtime_unsubscribe_all_from_dispatcher()
  File "/config/custom_components/duke_energy_gateway/coordinator.py", line 140, in async_realtime_unsubscribe_all_from_dispatcher
    self.async_realtime_unsubscribe_from_dispatcher(source)
  File "/config/custom_components/duke_energy_gateway/coordinator.py", line 133, in async_realtime_unsubscribe_from_dispatcher
    self.async_realtime_remove_subscriber_funcs_by_source[source]()
TypeError: 'NoneType' object is not callable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant