Skip to content

1.2.0 – Site ID optional again

Latest

Choose a tag to compare

@LucaCraft89 LucaCraft89 released this 25 Aug 12:33

1.1.0 made the Site ID mandatory, which locked out exactly the accounts this integration was written for: those invited to a single unit, with no CAME Connect site of their own. This release makes it optional again.

Setup without a Site ID (single-unit accounts)

  • Site ID and SIP password are now optional fields.
  • Leave the Site ID empty and discovery falls back to the original /sipaccounts/sites/devices chain — the 1.0.0 behaviour — giving the hard-coded Open Door button.
  • No AUX buttons on this path: the AUX list only exists in the /plants payload.
  • If that chain works except for a missing SIP password (newer CAME accounts no longer receive one), type the SIP password and still leave the Site ID empty — the legacy chain uses the one you typed. A password the API does return still wins.
  • The unique ID is email:site_id only when a site is given, so entries created by 1.0.0 keep their identity.

Setup with a Site ID (CAME Connect accounts)

  • Unchanged /plants discovery, with the open-door button plus one button per AUX output.
  • The SIP password is required here, since that payload never carries it — the config flow now says so instead of failing during discovery.

Also

  • Re-discovery in the options flow reuses whichever path set the entry up.
  • tests/test_discovery.py covers both payload shapes; runs standalone (python3 tests/test_discovery.py) or under pytest.

Full changelog: 1.1.0...1.2.0