diff --git a/amr2mqtt/rootfs/amr2mqtt/amr2mqtt.py b/amr2mqtt/rootfs/amr2mqtt/amr2mqtt.py index e7007d1..21e5d71 100644 --- a/amr2mqtt/rootfs/amr2mqtt/amr2mqtt.py +++ b/amr2mqtt/rootfs/amr2mqtt/amr2mqtt.py @@ -307,7 +307,7 @@ def send_discovery_messages(): category=CATEGORY_DIAGNOSTIC, ) last_seen["device_class"] = "timestamp" - last_seen["name"] = "Last Seen" + last_seen["name"] = f"{device_name} Last Seen" publish_sensor_discovery( meter_id=meter_id, device=device,