Skip to content

Commit

Permalink
fix: string error (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja authored May 31, 2024
1 parent 9a2777b commit dbc9359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Introduction

Early days of this API. Plan is to use this for home assistant. So far basic device data comes back including online. The library of cards is also populated. Pause command functions. Not other commands work yet.

Credit
Credit
======

A big thank you to @buzzeddesign for helping to sniff some of the API and make sense of it. Thank you to @fuatakgun for creating to core architecture is based on over in kia_uvo.
Expand Down
2 changes: 1 addition & 1 deletion yoto_api/YotoManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def update_players_status(self) -> None:
self.api.update_players(self.token, self.players)
if self.mqtt_client:
for player in self.players:
self.mqtt_client.update_status(player.id)
self.mqtt_client.update_status(player)

def connect_to_events(self, callback=None) -> None:
# Starts and connects to MQTT. Runs a loop to receive events. Callback is called when event has been processed and player updated.
Expand Down

0 comments on commit dbc9359

Please sign in to comment.