Skip to content

home assistant entity picture not visible #138

@ElVit

Description

@ElVit

Drydock version

1.4.0-rc.11

What happened?

Hi,
I have set DD_TRIGGER_MQTT_MOSQUITTO_HASS_ENABLED=true and DD_TRIGGER_MQTT_MOSQUITTO_HASS_DISCOVERY=true.
I can also see the update entites in home assistant.
But somehow the entity pictures are not visisble.
If I inspect the entity attributes I see the attribute entity_picture with the follwing value:
--> https://raw.githubusercontent.com/CodesWhat/drydock/main/docs/assets/drydock.png

But this link is not working anymore.
Can you please fix it?
I think the correct image name is now whale-logo.png.

And one more question (probably more a feature request 😅):
Is it maybe possible to set the entity_picture via docker compose labels?
Similar to dd.display.icon?
Usually the selfhost and homarr icons are also available as *.png files.
Maybe it is possible to reuse the label dd.display.icon and set the equivalent *.png file as entity_picture?

What did you expect?

The home assistant entity attribute entity_picture shall have the value https://github.com/CodesWhat/drydock/blob/main/docs/assets/whale-logo.png.

Steps to reproduce

  1. setup MQTT trigger
  2. set the env varaibles:
    • DD_TRIGGER_MQTT_MOSQUITTO_HASS_ENABLED=true
    • DD_TRIGGER_MQTT_MOSQUITTO_HASS_DISCOVERY=true
  3. watch the update entites from drydock in home assistant

Relevant configuration

-

Logs

-

Installation method

Docker Compose

Docker version

27.5.1

OS / Architecture

Unraid

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions