Skip to content

1.2.0: feeders set up in the Philips HomeID app

Latest

Choose a tag to compare

@AboveColin AboveColin released this 20 Oct 12:56
2acba4b

Adds support for feeders set up in the Philips HomeID app, requested in HA-Philips-Pet-Series#39.

A feeder set up in the HomeID app uses a different Philips backend and a different Tuya app than a feeder set up in the Pet Series app. One Philips login now works with both.

  • get_homes() returns the homes of both apps. Home.backend is "pet_series" or "homeid".
  • Each call that takes a home or a device goes to the backend and the Tuya app that hold it. A device is found by its Philips id and by its Tuya device id (vendor_id), after get_devices() has listed it.
  • tuya_session(device_id) returns the Tuya session of the device's app, with the MQTT partner id of that app.

Feeders set up in the Pet Series app work as before.

Minor rather than patch because Home and Device have a new backend field.