String formatting and max line length - Part 3 (#84394)

This commit is contained in:
Franck Nijhof 2022-12-22 13:35:47 +01:00 committed by GitHub
parent 30df9e7706
commit baef267f33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 517 additions and 218 deletions

View file

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