Skip to content

Releases: RobertD502/home-assistant-petkit

0.1.13

06 Jan 03:47
b1a7a06
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

New Features

General

  • Use PetKit BLE relay option added: You can now choose whether to enable or disable the use of the PetKit BLE relay. For Pura MAX users with water fountains - By preventing the integration from using the PetKit BLE relay, you can avoid the Pura MAX from locking up and needing to be manually rebooted as a result of both the integration and the mobile app initiating the relay via the Pura MAX. This issue is present on a firmware level on the Pura MAX and cannot be fixed from the integration end - the only way to get around this is to either disable the integration from using the relay or not using the PetKit mobile app. Note that if this option is disabled, data for the water fountain will only be as recent as the last time that your phone connected to the water fountain using the PetKit app (either via relay or direct bluetooth connection).

image

Pura MAX

  • Added Temporary Fast Polling: Start/Resume cleaning (5 minutes max), Pause cleaning (10 minutes max), Start Maintenance Mode (10 min max), Exit Maintenance Mode (3 minutes), Pause Exiting Maintenance Mode (10 minutes), Resume Exiting Maintenance Mode (3 minutes).

When using any one of the button entities listed above, your polling interval will temporarily be changed to every 10 seconds for the maximum amount of time specified in parenthesis or until the litter box reports an idle state. Once either of the two conditions is met, the polling interval will reset itself back to the polling interval you originally set (or 120s if you never manually changed your polling interval). With the addition of a temporary fast polling interval, you will now get a faster/better idea of what state your litter box is in when executing any of those actions and this also fixes the issue of the litter box not responding to a follow-up command (e.g., You pressed the Exit maintenance mode button and physically see that the litter box is out of maintenance mode, but executing a follow-up Start cleaning command results in an "Unable to call start cleaning command while litter box is in operation" error - the temporary fast polling fixes this and makes it a problem of the past)

  • Added switch entity for Enhanced adsorption setting

Water Fountains

  • Added ability for water fountain owners, who don't have a PetKit BLE relay or have disabled the option, to see state of all entities (except reset filter)

With the integration working with family share accounts for a while now, all entities besides the reset filter button entity, are now visible to users who either don't have a PetKit BLE relay set up or have disabled the option. In this scenario, the water fountain data will be updated whenever the PetKit mobile app makes a connection to the water fountain(s). Note: Attempting to control a water fountain via the integration will raise an exception if you don't have a PetKit BLE relay set up or if you, within the integration, disabled the option.

Fixes

  • Fixed Recent pet weight and Last use duration sensors showing wrong values after HA reboots or when the integration is reloaded. This only affected users that changed the unit of measurement for said sensors from the default (kg and seconds) to other units of measurement.

Other Changes

  • Added ability to remove devices from integration: Used to remove a device from the integration that you have already deleted from your PetKit account.

Translations

0.1.12.4

06 Nov 19:05
41bf110
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Caution

Potential Breaking Change in Automations for some users. See New Feature description below.

New Features

  • Pet Last use duration and Latest Weight sensor no longer reset to 0 at midnight - the last non-zero weight recorded will be used until your cat uses the litter box again.

0.1.12.3

06 Nov 17:45
a217d05
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Bug Fix

  • Fixed KeyError exception related to BLE poll tracking experienced by users with multiple Water Fountains on their account.

Other Changes

  • Eversweet 3 Pro (UVC Version) is now correctly identified
  • Added debug messaging during device discovery
  • Added wrong region error code: Used to inform the user if the region selected is not the one used during account registration
  • Added BLE Relay Warning: A detailed warning will now be logged if a water fountain exists on the account, but no usable PetKit BLE relay device is returned by the API - used to indicate that, in this scenario, water fountains cannot be controlled and data will be stale.

0.1.12.2

04 Nov 21:30
f124257
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Bug Fix

  • Use renamed device roster function when querying for devices during the config flow to determine if any devices are present on the account - Thanks @geertmeersman!!!

0.1.12.1 - Hotfix #2

04 Nov 20:37
e3a3975
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Bug Fix

  • No devices found: The group ID was set to the account user ID in the last release - as it turns out, this isn't the case for all accounts. The integration now fetches all of the group IDs (PetKit "families") associated with a PetKit account and pulls in devices from all. If you have multiple "families" set up on your account, this means that you will now see devices from all families and not only the ones associated with the default family!

Other Changes

  • Last poll for BLE devices is now stored on a per device basis instead of a universal time tracker
  • An exception will now be raised/logged if a user attempts to control a water fountain when a valid PetKit device acting as a BLE relay does not exist.

0.1.12 - API Change Hotfix

04 Nov 15:21
6007431
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

API Changes

  • The PetKit API has seen some changes regarding required request data for certain endpoints and changes in endpoints used. This release includes a fix to account for those changes.
    Note: As I don't own every PetKit device, I have not been able to test for every device - I tried my best to account for API changes that may have been introduced for devices which I don't own.

0.1.11

05 Aug 18:38
635d1ad
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Minor Update

  • Added TURN_ON and TURN_OFF FanEntityFeature for Air Magicube purifiers to prevent users from seeing a warning starting with Home Assistant 2024.8.0.
  • Bumped minimum required Home Assistant version to 2024.8.0

0.1.10

23 Sep 17:17
ad09c65
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Fixes

  • Timezone option added to config flow: Some users setting up the integration have not been able to proceed due to their Home Assistant timezone not being part of the tzlocal library's timezones list. The config flow now has an option to set your timezone automatically or to manually select your timezone. If you are currently using this integration, the Set Automatically option has been selected for you and no changes are required. This is mainly for new users that may come across a timezone issue.
  • Improved BLE Relay: The BLE relay is now instructed to disconnect after polling for information in order to prevent the possibility of BLE timeout issues.
  • Added Russian translation: Thanks @DivanX10!

0.1.9.1

29 Aug 16:08
ffa42e8
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Fixes

  • Fixed Pura Max State sensor entity showing a current workState of Unknown instead of Cleaning litter box when the workProcess = 13.

0.1.9

17 Aug 16:49
93d14ee
Compare
Choose a tag to compare

Buy Me A Coffee Donate using Liberapay

If you enjoy this integration, consider donating by clicking on one the supported methods above.

*All proceeds go towards helping a local animal rescue.

Changes

  • Improved timezone error handling: If users running Home Assistant as a standalone Docker container forget to set the TZ environmental variable, a detailed error, during initial setup, is now returned instead of "unknown error, check logs".