RobertD502/home-assistant-flair

'NoneType' object is not subscriptable error during Setup

Closed this issue · 7 comments

Hello - I am getting an error after entering API keys on setup. It spins for a little bit and then logs this:

Logger: custom_components.flair.config_flow
Source: custom_components/flair/config_flow.py:67
Integration: Flair (documentation, issues)
First occurred: 11:28:50 AM (2 occurrences)
Last logged: 11:47:36 AM

Error occured during Flair setup: 'NoneType' object is not subscriptable

Is anything else logged?

Edit:

What all do you have set up within Flair (Rooms, Pucks, Vents, Mini Split, etc)?

I switched to debug logging and still that's the only log entry I can find. In Flair, I have 3 pucks. 1 tied to an Ecobee thermostat through that built-in integration, and the other 2 connected to minisplits as IR controllers. I tried removing the Ecobee integration and also just tried resetting all the pucks and creating a new home, setting it as default. Same exact error still.

Within the Flair app, do you have Rooms set up?

Yes 3 rooms, 1 for each puck.

What's the best e-mail to reach you at?

michael (at) mgrose.com

Issue due to phantom HVAC unit.
Resolved in version 0.0.5.1