You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the icons that are displayed are already the wrong icons, as CCH is not up-to-date anymore.
Related Issues (if any)
(Optional): Suggested Solution
Home Assistant now directly fetches the path of the icon, where SAK needs the 'mdi:name'.
This means that all the entity icon builders from HA need to be copied, and modified to return the name of the icon, just as CCH did this.
The list of files to copy, convert to js, rename/append '_name' to the file, and change for icon name fetching/handling, instead of path are (may not be complete):
alarm_panel_icon.ts
battery_icon.ts
binary_sensor_ico.ts
cover_icon.ts
domain_icon.ts
number_icon.ts
sensor_icon.ts
state_icon_path.ts (will become state_icon_name.js)
const.ts
(Optional): Alternative Solutions
The text was updated successfully, but these errors were encountered:
The Problem To Be Solved
Currently, SAK is using CCH to build the icon state, if not known from user input and/or attribute.
But this is not up to date anymore with Home Assistant.
As part of #227, replace CCH functions.
Additional background:
Some of the icons that are displayed are already the wrong icons, as CCH is not up-to-date anymore.
Related Issues (if any)
(Optional): Suggested Solution
Home Assistant now directly fetches the path of the icon, where SAK needs the 'mdi:name'.
This means that all the entity icon builders from HA need to be copied, and modified to return the name of the icon, just as CCH did this.
The list of files to copy, convert to js, rename/append '_name' to the file, and change for icon name fetching/handling, instead of path are (may not be complete):
(Optional): Alternative Solutions
The text was updated successfully, but these errors were encountered: