DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
149 stars 33 forks source link

expected string or bytes-like object, got 'list' #233

Closed vladurash closed 9 months ago

vladurash commented 9 months ago

Describe the bug Toyota EU integration in HA return error "Failed setup, will retry". As additional error message I found this

expected string or bytes-like object, got 'list'

To Reproduce Steps to reproduce the behavior:

  1. Go to (homeassistantIP:8123/config/integrations/integration/toyota)
  2. See error

Expected behavior Expected is to work

Screenshots image

Additional context Latest integration version. I erased it from HACS and checked in custom_components folder for any remained files. Restarted HA, installed again integration. Same behaviour. image

CM000n commented 9 months ago

Which Version of mytoyota is installed on your Home Assistant? With mytoyota v2.0.0 there should be already a fix for this: https://github.com/DurgNomis-drol/mytoyota/pull/319

CM000n commented 9 months ago

Hi @vladurash. I just released a new version which pins the used mytoyota version to 2.0.0: https://github.com/DurgNomis-drol/ha_toyota/releases/tag/v2.0.1

Can you please test and report back, if it works for you?

vladurash commented 9 months ago

Updated to 2.0.1 and now it works ok. Thanks.

vladurash commented 9 months ago

image

CM000n commented 9 months ago

Thx for checking!