1
0
mirror of synced 2026-03-09 20:13:40 +00:00

fix: ensure entity_id is correct for Storage Used % entity

This commit is contained in:
Daniel Chesterton
2021-12-31 03:14:37 +00:00
parent 5014f702fd
commit f10c04b006

View File

@@ -348,6 +348,7 @@ if home_assistant:
"unit_of_measurement": "%", "unit_of_measurement": "%",
"icon": "mdi:micro-sd", "icon": "mdi:micro-sd",
"name": f"{device_name} Storage Used %", "name": f"{device_name} Storage Used %",
"object_id": f"{device_slug}_storage_used_percent",
"unique_id": f"{serial_number}.storage_used_percent", "unique_id": f"{serial_number}.storage_used_percent",
"entity_category": "diagnostic", "entity_category": "diagnostic",
}, },