mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Ensure Notion device name is stored as a string (#57670)
This commit is contained in:
parent
8ef8838801
commit
681b5c48e2
@ -151,7 +151,7 @@ class NotionEntity(CoordinatorEntity):
|
|||||||
"identifiers": {(DOMAIN, sensor["hardware_id"])},
|
"identifiers": {(DOMAIN, sensor["hardware_id"])},
|
||||||
"manufacturer": "Silicon Labs",
|
"manufacturer": "Silicon Labs",
|
||||||
"model": sensor["hardware_revision"],
|
"model": sensor["hardware_revision"],
|
||||||
"name": sensor["name"],
|
"name": str(sensor["name"]),
|
||||||
"sw_version": sensor["firmware_version"],
|
"sw_version": sensor["firmware_version"],
|
||||||
"via_device": (DOMAIN, bridge.get("hardware_id")),
|
"via_device": (DOMAIN, bridge.get("hardware_id")),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user