Fix spelling of OctoPrint (#58686)

This commit is contained in:
Franck Nijhof 2021-10-29 13:21:57 +02:00 committed by GitHub
parent d1474d8e92
commit b3e7eeb020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 20 deletions

View file

@ -76,7 +76,7 @@ class OctoPrintSensorBase(CoordinatorEntity, SensorEntity):
"""Initialize a new OctoPrint sensor."""
super().__init__(coordinator)
self._device_id = device_id
self._attr_name = f"Octoprint {sensor_type}"
self._attr_name = f"OctoPrint {sensor_type}"
self._attr_unique_id = f"{sensor_type}-{device_id}"
@property
@ -84,8 +84,8 @@ class OctoPrintSensorBase(CoordinatorEntity, SensorEntity):
"""Device info."""
return {
"identifiers": {(COMPONENT_DOMAIN, self._device_id)},
"manufacturer": "Octoprint",
"name": "Octoprint",
"manufacturer": "OctoPrint",
"name": "OctoPrint",
}