Skip to content

Error when calling feeding switch #49

Description

@nivv

First of all, thanks for your work with this integration. It has worked great for a couple of years.

Both my feeders stopped working 3 days ago. HA states them as "Offline" for the entity named sensor.feeder_cid_state.
Skärmavbild 2023-08-07 kl  20 28 17

I get this error message in the logs:

2023-08-07 20:11:46.055 ERROR (MainThread) [custom_components.petkit] Petkit feeding failed: {'error': {'code': 1504, 'msg': '喂食器已离线,不能修改喂食计划'}}

The feeder is offline, the feeding schedule cannot be modified
(Translated from 喂食器已离线,不能修改喂食计划)

I can use the Petkit mobile app to trigger a feed, so they should be online.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions