mcclown / home-assistant-custom-components

Custom components for Home-Assistant
Apache License 2.0
18 stars 7 forks source link

Uhoo: typo in credentials gives unintuitive error #3

Open mcclown opened 5 years ago

mcclown commented 5 years ago

2019-05-06 15:33:00 ERROR (MainThread) [custom_components.uhooair.sensor] Error: string indices must be integers 2019-05-06 15:33:00 WARNING (MainThread) [homeassistant.components.sensor] Platform uhooair not ready yet. Retrying in 60 seconds. 2019-05-06 15:34:02 ERROR (MainThread) [custom_components.uhooair.sensor] Error: string indices must be integers 2019-05-06 15:34:02 WARNING (MainThread) [homeassistant.components.sensor] Platform uhooair not ready yet. Retrying in 90 seconds. 2019-05-06 15:35:34 ERROR (MainThread) [custom_components.uhooair.sensor] Error: string indices must be integers 2019-05-06 15:35:34 WARNING (MainThread) [homeassistant.components.sensor] Platform uhooair not ready yet. Retrying in 120 seconds.

peter-ciccolo commented 4 years ago

I am seeing this, but I don't think my credentials are wrong. (I can use them to log into the uHoo app.) I get "You are not authorized to access this API" back from their servers; did they lock the api down for non-enterprise users?

mcclown commented 4 years ago

@peter-ciccolo as far as I know, the API is an enterprise only feature. It may be worth talking to uhoo, to see if they can do anything about that.

peter-ciccolo commented 4 years ago

Thanks. My impression was that this was working for non-enterprise customers at some point, but it wouldn't be surprising if they stopped that.