Closed martinhanes closed 11 months ago
I have not tested it on 2023.6, will do
I have the same problem
Error setting up entry mymikrotik for mikrotik_router Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mikrotik_router/init.py", line 40, in async_setup_entry await controller.async_update() File "/config/custom_components/mikrotik_router/mikrotik_controller.py", line 542, in async_update await self.async_get_host_hass() File "/config/custom_components/mikrotik_router/mikrotik_controller.py", line 398, in async_get_host_hass registry = await self.hass.helpers.entity_registry.async_get_registry() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1050, in getattr value = getattr(self._module, attr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'homeassistant.helpers.entity_registry' has no attribute 'async_get_registry'
@tomaae any news please? 2023.6.1 is actual HA version already...
yea, I'm just really busy. I have a lot planned for this integration, but I need to get some free time which is very difficult for me right now. I will most likely just realease small patch version for this.
It is taking longer then expected since I decided to go all the way and implement all new HA features. Specially HA build-in value conversion such as units of measurements and unit precision. We will no longer need to use our custom integration wide conversions. Difficult part is already done, I mostly need to go over all the entities and configure them for new system. Also, a lot of testing, since this integration is massive.
Just to keep you guys updated, I'm having trouble with HA coordinator ignoring update interval. I'm trying to get help from HA devs, but its getting slow since they are busy of course and this is some weird issue.
Update: everything except device tracker works now
Everything should work now, needs more testing and some cleanup. If you want to help testing, its in coordinator branch
Any plans to put the coordinator in production to be available in HA?
thats the point of coordinator branch. it still needs more testing and some work. this is very feature wide integration.
rebased and merged into master for easier testing, its easier to install from HACS
v2.1.3 released
Integration stopped working after upgrading to version 2023.6.0 due to the following error:
homeassistant.helpers.entity_registry' has no attribute 'async_get_registry'
probable fix is to change the line from
device_registry = await dr.async_get_registry(hass)
todevice_registry = dr.async_get(hass).