Skip to content

Commit

Permalink
remove unused variable in setup_entry
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Dec 28, 2023
1 parent ccc8b83 commit 2ef62ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/audiconnect/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def async_setup_entry(

entities = []
for vin, vehicle in coordinator.data.items():
for name, data in vehicle.states.items():
for name in vehicle.states:
for description in SENSOR_TYPES:
if description.key == name:
entities.append(AudiDeviceTracker(coordinator, vin, description))
Expand Down

0 comments on commit 2ef62ee

Please sign in to comment.