Skip to content

Commit

Permalink
🐛 fix manual feeding input regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezza34000 committed Dec 21, 2024
1 parent 87b6180 commit 15e603c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/petkit/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}

# Text input regex
INPUT_FEED_PATTERN = "^([0-9]|10)$"
INPUT_FEED_PATTERN = "^([0-9]|[1-4][0-5]|50)$"

# Select list mapping
SURPLUS_FOOD_LEVEL_OPT = {1: "Less", 2: "Moderate", 3: "Full"}
Expand Down

0 comments on commit 15e603c

Please sign in to comment.