Skip to content

Added support for PurePro Water Fountain & Feeder Portion Controll

Latest

Choose a tag to compare

@milosljubenovic milosljubenovic released this 19 Feb 21:35
3335f30

Added

  • Feeder Portion Control:
    • Introduced a number entity (slider) for the Catlink Feeder to control the number of food portions dispensed.
    • Users can now select between 1 and 10 portions (default: 1), replacing the previous hardcoded value of 5.
    • Added infrastructure for the number domain, including a base CatlinkNumberEntity.
  • PurePro Water Fountain Support:
    • Full implementation of the PureProDevice for the Catlink PurePro water fountain.
    • Support for state monitoring: online status, water level, filter life, and temperature.
    • Support for mode selection: Flowing mode (CONTINUOUS), Eco-mode (INTERMITTENT), and Smart mode (INDUCTION).
    • Support for binary sensors: UV active, Heating, Light active, and Hair cleaning status.
    • Integration with the logbook to track "Cat drank water" events and other activities.

Changed

  • Device Registration: Updated DEVICE_TYPES registry to include PUREPRO.
  • API Endpoints: Updated PurePro endpoints to match the latest API specifications (detail, runMode, and stats/log/top5).

Fixed

  • Feeder Tests: Updated test_food_out_success to reflect dynamic portions and added test_food_out_custom_portions.
  • PurePro Tests: Updated tests to match new mode names and log endpoint response structure.