Skip to content

Commit

Permalink
fix: player typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja committed Apr 14, 2024
1 parent eaa4991 commit 41ae130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/yoto/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def async_setup_entry(
for description in SENSOR_DESCRIPTIONS:
if getattr(player, description.key, None) is not None:
entities.append(
YotoBinarySensor(coordinator, description, vehicle)
YotoBinarySensor(coordinator, description, player)
)
async_add_entities(entities)
return True
Expand Down

0 comments on commit 41ae130

Please sign in to comment.