delete and update images (#165)
This commit is contained in:
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
BIN
images/update_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user