Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add puppy kitty pet feeder #1966

Merged
merged 1 commit into from
May 31, 2024
Merged

Add puppy kitty pet feeder #1966

merged 1 commit into from
May 31, 2024

Conversation

Aegeontis
Copy link
Contributor

Uses the exact same mapping as the giotohun pet feeder, just different id and name.

@Aegeontis
Copy link
Contributor Author

While the tests seem to have a dependency problem atm, I tested this on my devices (I have both the GiotoHun and the puppy kitty) and it seems to work fine.

I also used tinytuya to check the mappings for both devices, which turned out to be completely identical:

[
    {
        "name": "WiFi Feeder",
        "id": "REDACTED",
        "key": "REDACTED",
        "mac": "REDACTED",
        "uuid": "REDACTED",
        "sn": "REDACTED",
        "category": "cwwsq",
        "product_name": "WiFi Feeder",
        "product_id": "ojqmjnoxqygqldsp",
        "biz_type": 18,
        "model": "",
        "sub": false,
        "icon": "https://images.tuyaeu.com/smart/icon/ay1542957114075QsKU3/e4ebda6feaa9508cfd12b2b86a3241e8.jpg",
        "mapping": {
            "1": {
                "code": "meal_plan",
                "type": "Raw",
                "values": {}
            },
            "3": {
                "code": "manual_feed",
                "type": "Integer",
                "values": {
                    "min": 1,
                    "max": 12,
                    "scale": 0,
                    "step": 1
                }
            },
            "4": {
                "code": "feed_state",
                "type": "Enum",
                "values": {
                    "range": [
                        "standby",
                        "feeding"
                    ]
                }
            },
            "9": {
                "code": "factory_reset",
                "type": "Boolean",
                "values": {}
            },
            "15": {
                "code": "feed_report",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 12,
                    "scale": 0,
                    "step": 1
                }
            }
        },
        "ip": "192.168.0.15",
        "version": "3.3"
    },
    {
        "name": "PE-A03",
        "id": "REDACTED",
        "key": "REDACTED",
        "mac": "REDACTED",
        "uuid": "REDACTED",
        "sn": "REDACTED",
        "category": "cwwsq",
        "product_name": "PE-A03",
        "product_id": "pxwlmmdodfppms3a",
        "biz_type": 18,
        "model": "\u65e0",
        "sub": false,
        "icon": "https://images.tuyaeu.com/smart/icon/bay1588645677379Tg3d/ed7f47afb5c65cda08a07ac67f4f7b96.jpg",
        "mapping": {
            "1": {
                "code": "meal_plan",
                "type": "Raw",
                "values": {}
            },
            "3": {
                "code": "manual_feed",
                "type": "Integer",
                "values": {
                    "min": 1,
                    "max": 12,
                    "scale": 0,
                    "step": 1
                }
            },
            "4": {
                "code": "feed_state",
                "type": "Enum",
                "values": {
                    "range": [
                        "standby",
                        "feeding"
                    ]
                }
            },
            "9": {
                "code": "factory_reset",
                "type": "Boolean",
                "values": {}
            },
            "15": {
                "code": "feed_report",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 12,
                    "scale": 0,
                    "step": 1
                }
            }
        },
        "ip": "REDACTED",
        "version": "3.3"
    }
]

@make-all
Copy link
Owner

Yes, I guess the tests have been updated for the HA 2024.6 beta to detect issues before the release. They ran OK yesterday, and there is nothing wrong with the minor change you made. Maybe in a couple of hours it will be fixed.

Uses the exact same mapping as the giotohun pet feeder, just different id and name.
@make-all make-all merged commit ffe5241 into make-all:main May 31, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants