thevoltagesource / LennoxiComfort

Home Assistant custom component for controlling Lennox iComfort WiFi and AirEase Comfort Sync thermostats.
MIT License
33 stars 16 forks source link

/config/custom_components/myicomfort/__init__.py blank ? #43

Closed CCupler closed 1 year ago

CCupler commented 1 year ago

Installed LennoxiComfort via HACS. Created 'climate' entry in configuration.yaml as per the docs here. Added mycomfortsync username and password entries in secrets.yaml (again, per the docs, as I understood them.) I can't seem to "do" anything with the integration......
Granted, I'm new to HA (just started on this a few weeks ago), and I don't write code, but.... the init.py for this integration is blank - noting there. Looking at other HCS integrations that I've installed (e.g. HACS, FordPass, Hubitat, or Remootio), those all have a init entry with, well, code in them - the iComfort init entry is entirely blank. Am I just dumb, and doing it wrong? Or, is this my issue?
You need anything from me (feedback, logs (if you can point me to where to get them, it would help - again, HA noob here), please ask.

thevoltagesource commented 1 year ago

Hey @CCupler, the init.py is intentionally blank so that isn't the issue. To rule out a config issue, can you try using this config and enter your username and password directly inline? This will grab the primary system and zone on the account and avoids possible secrets issues.

  - platform: myicomfort
    name: Upstairs
    username: mycomfortsync_username
    password: mycomfortsync_password
    system: 0
    zone: 0 
    min_temp: 65
    max_temp: 80
    cloud_svc: airease

If that doesn't work, we can try turning on some specific debug logging in HA and see where things are going south.

Jacob

CCupler commented 1 year ago

Jacob, Thanks for the response. I updated my configuration.yaml as suggested. And.... I'm an idiot. I entered the wrong user name (I entered username-at-email, instead of username.) Fixed that, and, it's working.

Again, thanks for the response.

-Chris

thevoltagesource commented 1 year ago

Woot! Glad you got it working.