String formatting and max line length - Part 3 (#84394)
This commit is contained in:
parent
30df9e7706
commit
baef267f33
88 changed files with 517 additions and 218 deletions
|
@ -116,7 +116,9 @@ class SensorCommunitySensor(CoordinatorEntity, SensorEntity):
|
|||
ATTR_SENSOR_ID: sensor_id,
|
||||
}
|
||||
self._attr_device_info = DeviceInfo(
|
||||
configuration_url=f"https://devices.sensor.community/sensors/{sensor_id}/settings",
|
||||
configuration_url=(
|
||||
f"https://devices.sensor.community/sensors/{sensor_id}/settings"
|
||||
),
|
||||
identifiers={(DOMAIN, str(sensor_id))},
|
||||
name=f"Sensor {sensor_id}",
|
||||
manufacturer="Sensor.Community",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue