Make puppy kitty feeder a separate device #2301
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initially I made a pr to add this device (product id: iwabnqimdhmzxzvp) to the existing catit smart feeder config. However, even though I bought it from the same manufacturer, this particular id has a slightly different mapping.
It may be possible to combine this mapping and the catit one, although the catit mapping has a few sensors that dont exist on this device (food shortage and food blockage).
Unfortunately this device does not report anything except the last portion size (and only after being triggered at least once) and whether its on or off (switch with id 25). I also didn't quite add everything from the tinytuya devices.json file (my device has no batteries and doesn't report those values anyways).
Here is the devices.json:
Here is what a tinytuya scan reports: