fix: ensure entity_id is correct for Storage Used % entity

pull/54/head
Daniel Chesterton 3 years ago
parent 5014f702fd
commit f10c04b006

@ -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",
}, },

Loading…
Cancel
Save