mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Use str instead of string placeholders in solaredge (#99843)
This commit is contained in:
parent
66d16108be
commit
4017473d51
@ -353,7 +353,7 @@ class SolarEdgeDetailsSensor(SolarEdgeSensorEntity):
|
|||||||
"""Return a unique ID."""
|
"""Return a unique ID."""
|
||||||
if not self.data_service.site_id:
|
if not self.data_service.site_id:
|
||||||
return None
|
return None
|
||||||
return f"{self.data_service.site_id}"
|
return str(self.data_service.site_id)
|
||||||
|
|
||||||
|
|
||||||
class SolarEdgeInventorySensor(SolarEdgeSensorEntity):
|
class SolarEdgeInventorySensor(SolarEdgeSensorEntity):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user