Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thebradleysanders authored Mar 17, 2023
1 parent 722fe08 commit 9418481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/monoprice_custom/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, monoprice, sensor_type, namespace, zone_id):
self._attr_name = f"{sensor_type}"
self._attr_native_value = None
self._attr_device_info = DeviceInfo(
identifiers={(DOMAIN, self.unique_id)},
identifiers={(DOMAIN, self._zone_id)},
manufacturer="Monoprice",
model="6-Zone Amplifier",
name=f"Zone {self._zone_id}"
Expand Down

0 comments on commit 9418481

Please sign in to comment.