Skip to content

Commit

Permalink
set to png
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored May 19, 2024
1 parent ab0f17d commit 71d1aa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ function getDeviceIcon(definition) {
if (icon) {
icon = icon.replace('${model}', sanitizeImageParameter(definition.model));
}
if (!icon) {
icon = `https://www.zigbee2mqtt.io/images/devices/${sanitizeImageParameter(definition.model)}.jpg`;
}
// if (!icon) {
// icon = `https://www.zigbee2mqtt.io/images/devices/${sanitizeImageParameter(definition.model)}.jpg`;
// }
if (!icon) {
icon = `https://www.zigbee2mqtt.io/images/devices/${sanitizeImageParameter(definition.model)}.png`;
}
Expand Down

0 comments on commit 71d1aa7

Please sign in to comment.