[Custom component] AsusRouter integration

I’ve started seeing errors at startup, I’ve tried removing my custom switch definitions but the errors still occur. Any thoughts on what I’m missing greatly appreciated.

Log Details (ERROR)

This error originated from a custom integration.

Logger: custom_components.asusrouter.router
Source: helpers/update_coordinator.py:201
Integration: AsusRouter ([documentation](https://asusrouter.vaskivskyi.com/), [issues](https://github.com/Vaskivskyi/ha-asusrouter/issues))
First occurred: 18:56:08 (1 occurrences)
Last logged: 18:56:08

Error fetching gwlan data: ("Wrong value deny of type <class 'str'>", None)

and

Log Details (ERROR)

Logger: homeassistant.components.switch
Source: custom_components/asusrouter/entity.py:125
Integration: Switch ([documentation](https://www.home-assistant.io/integrations/switch), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+switch%22))
First occurred: 18:56:08 (2 occurrences)
Last logged: 18:56:09

* Error adding entities for domain switch with platform asusrouter
* Error while setting up asusrouter platform for switch

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 615, in _async_add_entity original_icon=entity.icon, File "/config/custom_components/asusrouter/entity.py", line 132, in icon if self.is_on: File "/config/custom_components/asusrouter/entity.py", line 125, in is_on return self.coordinator.data.get(self.entity_description.key) AttributeError: 'NoneType' object has no attribute 'get'