delete and update images (#165)

This commit is contained in:
Masoko
2024-12-02 00:58:40 +02:00
committed by GitHub
parent 429b05be18
commit 9de687f4b4
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 KiB

BIN
images/update_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -514,7 +514,7 @@ def config_json(what_config, device="0", hass_api=False):
data["command_topic"] = config.mqtt_discovery_prefix + "/update/" + hostname + "/command" data["command_topic"] = config.mqtt_discovery_prefix + "/update/" + hostname + "/command"
data["payload_install"] = "install" data["payload_install"] = "install"
data['release_url'] = "https://github.com/hjelev/rpi-mqtt-monitor/releases/tag/" + version data['release_url'] = "https://github.com/hjelev/rpi-mqtt-monitor/releases/tag/" + version
data['entity_picture'] = "https://masoko.net/rpi-mqtt-monitor.png" data['entity_picture'] = "https://raw.githubusercontent.com/hjelev/rpi-mqtt-monitor/refs/heads/master/images/update_icon.png
data['release_summary'] = get_release_notes(version) data['release_summary'] = get_release_notes(version)
elif what_config == "restart_button": elif what_config == "restart_button":
data["icon"] = "mdi:restart" data["icon"] = "mdi:restart"