Drydock version
1.5.0, 1.5.1-rc6
What happened?
update.dd_container_local_(installed containers) returns "Unknown" in Home Assistant using MQTT HASS, while all the sensor.dd_container entities (e.g. "total container count" or "Watcher local running status" ) all return values thus work correctly.
Main attributes that show "unkown":
- Installed version
- Newest version
attributes that are working:
- Release URL
- Entity picture
- Busy
- auto update
- Icon
- Friendly name
What did you expect?
update.dd_container_local_(any installed container) entities should include these attributes so it returns a value if the container is "up-to-date" or "updates available"
Steps to reproduce
- Start Drydock, check logs for confirmation of mqtt trigger.
- Check MQTT in HA
Relevant configuration
environments:
- DD_ACTION_MQTT_MOSQUITTO_URL=mqtt://mosquitto:1883 #DD_NOTIFICATION doesn't work for all env
- DD_ACTION_MQTT_MOSQUITTO_HASS_ENABLED=true
- DD_ACTION_MQTT_MOSQUITTO_HASS_DISCOVERY=true
- DD_ACTION_MQTT_MOSQUITTO_HASS_ATTRIBUTES=full #tested both full and short
- DD_WATCHER_LOCAL_WATCHALL=true
- DD_SERVER_CORS_ORIGIN=*
- DD_SERVER_CORS_ENABLED=true
Logs
SYSTEM LOG TRIGGER.MQTT
1[21:41:33.158]infotrigger.mqtt.mosquittoRegister with configuration {"hass":{"enabled":true,"attributes":"full","discovery":true,"prefix":"homeassistant","agenttopicsegment":false,"filter":{"include":"","exclude":""}},"user":"[REDACTED]","password":"[REDACTED]","url":"[REDACTED]","topic":"dd/container","clientid":"dd_9cf8e5b5","exclude":"","tls":{"rejectunauthorized":true},"auto":"all","order":100,"threshold":"all","mode":"simple","once":true,"digestcron":"0 8 * * *","simpletitle":"${isDigestUpdate ? container.notificationAgentPrefix + \"New image available for container \" + container.name + container.notificationWatcherSuffix + \" (tag \" + currentTag + \")\" : container.notificationAgentPrefix + \"New \" + container.updateKind.kind + \" found for container \" + container.name + container.notificationWatcherSuffix}","simplebody":"${isDigestUpdate ? container.notificationAgentPrefix + \"Container \" + container.name + container.notificationWatcherSuffix + \" running tag \" + currentTag + \" has a newer image available\" : container.notificationAgentPrefix + \"Container \" + container.name + container.notificationWatcherSuffix + \" running with \" + container.updateKind.kind + \" \" + container.updateKind.localValue + \" can be updated to \" + container.updateKind.kind + \" \" + container.updateKind.remoteValue}${container.result && container.result.link ? \"\\n\" + container.result.link : \"\"}","batchtitle":"${containers.length} updates available","resolvenotifications":false,"securitymode":"simple"}
2[21:41:33.387]infotrigger.mqtt.mosquittoRegistering for auto execution (all watched containers)
13[21:41:42.958]infotrigger.mqtt.mosquittoAdd hass container update sensor [dd/container/local/homeassistant]
MQTT transmitted message of HA container:
drydock Home Assistant (update.dd_container_local_homeassistant)
MQTT discovery data:
Topic: homeassistant/update/dd_container_local_homeassistant/config
Payload
unique_id: dd_container_local_homeassistant
default_entity_id: update.dd_container_local_homeassistant
device:
identifiers:
- drydock
manufacturer: drydock
model: drydock
sw_version: 1.5.1-rc.6
name: drydock
icon: mdi:docker
entity_picture: >-
https://raw.githubusercontent.com/CodesWhat/drydock/main/docs/assets/whale-logo.png
state_topic: dd/container/local/homeassistant
force_update: true
value_template: '{{ value_json.image_tag_value }}'
latest_version_topic: dd/container/local/homeassistant
latest_version_template: >-
{% if value_json.update_kind_kind == "digest" %}{{
value_json.result_digest[:15] }}{% else %}{{ value_json.result_tag }}{% endif
%}
release_url: https://github.com/home-assistant/core/releases/tag/2026.7.1
json_attributes_topic: dd/container/local/homeassistant
name: Home Assistant
Subscribed topics:
dd/container/local/homeassistant
0 most recent received messages
Installation method
Docker Compose
Docker version
29.6.1
OS / Architecture
Ubuntu 24.04 AMD64
Drydock version
1.5.0, 1.5.1-rc6
What happened?
update.dd_container_local_(installed containers) returns "Unknown" in Home Assistant using MQTT HASS, while all the sensor.dd_container entities (e.g. "total container count" or "Watcher local running status" ) all return values thus work correctly.
Main attributes that show "unkown":
attributes that are working:
What did you expect?
update.dd_container_local_(any installed container) entities should include these attributes so it returns a value if the container is "up-to-date" or "updates available"
Steps to reproduce
Relevant configuration
Logs
Installation method
Docker Compose
Docker version
29.6.1
OS / Architecture
Ubuntu 24.04 AMD64