petrleocompel / hikaxpro_hacs

HACS repository of Hikvision Ax Pro integration for home assistant
MIT License
45 stars 4 forks source link

Brand icons missing #3

Closed petrleocompel closed 1 year ago

petrleocompel commented 1 year ago

icon missing

image

_Originally posted by @wifi75 in https://github.com/petrleocompel/hikaxpro_hacs/issues/2#issuecomment-1438440005_

petrleocompel commented 1 year ago

We need to add icon to https://github.com/home-assistant/brands to have it available.

wifi75 commented 1 year ago

How to install it?

petrleocompel commented 1 year ago

We need to wait fro the pull request in home-assistant/brands closed. No need for installation. Then it will automatically display the icon from HA server.

petrleocompel commented 1 year ago

https://github.com/home-assistant/brands/pull/4144 is closed we can close issue. Should be online in day

wifi75 commented 1 year ago

oh no after update to version d1bb9ff and restart system error:

image


2023-02-27 15:10:13.106 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for hikvision_axpro using this method at custom_components/hikvision_axpro/__init__.py, line 99: await hass.config_entries.async_setup_platforms(entry, PLATFORMS)
2023-02-27 15:10:13.107 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Hikvision_axpro_192.168.1.17 for hikvision_axpro
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/hikvision_axpro/__init__.py", line 99, in async_setup_entry
    await hass.config_entries.async_setup_platforms(entry, PLATFORMS)
TypeError: object NoneType can't be used in 'await' expression

image

wifi75 commented 1 year ago

v.0.5.0 perfect!

thank you

petrleocompel commented 1 year ago

@wifi75 upgrade to v0.5.1 there was a bug with status of sensors