RobertD502 / home-assistant-flair

Custom component for Home Assistant Core for Flair pucks, vents, rooms, structures, and minisplits
MIT License
87 stars 12 forks source link

'NoneType' object is not subscriptable error during Setup #16

Closed mgrose closed 2 years ago

mgrose commented 2 years ago

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

RobertD502 commented 2 years ago

Is anything else logged?

Edit:

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

mgrose commented 2 years ago

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.

RobertD502 commented 2 years ago

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

mgrose commented 2 years ago

Yes 3 rooms, 1 for each puck.

RobertD502 commented 2 years ago

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

mgrose commented 2 years ago

michael (at) mgrose.com

RobertD502 commented 2 years ago

Issue due to phantom HVAC unit. Resolved in version 0.0.5.1