How use oven filter? #9
Labels
No Label
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: GitHub/pyhOn#9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, I don’t undertand how works the oven program filter.
My problem is the very long list of programs in my oven:
The programs that start with “iot_recipe_” there are a standar program with presset time and in the hOn has the complete recipe (ingredients), so, there are useless from HA.
I want get only the “normal” (convention, multi_level, bottom…) and the “iot_guided”, and can sort by first the normal and after the guided would be awesome.
Hey, okay I see it is a bit more complicated. I implemented regex filters to achieve this 🙂 I think this should work now, can you test it?
As explanation: The appliances dir is for special requirements which differ from the standard api results. Here we can manipulate the data for each appliance type. I created here a virtual enum parameter, which can be displayed as a select with the key “program_filter”. It displays the three categories recipe, default and guided and applies a filter to the values of the “startProgram.program” select.
Hey, I have thought about this and we should don’t make it with filters. I don’t think there are really people who wanna use guided or recipe programs via home assistant 😄 I think when people really use these functions, they to do this with the app, that is much more convenient. For us, it makes all more complicated to support recipes. When there is really a need and people want it, we could enable it with a global checkbox but then display it in the normal programs select. So I will put the filters back for now and filter recipes out by default 👍
Ok for me.
The “recipes” are only predefined data, so, with automation/script any can create custom recipes.
I am updating the the lib (override values when oven is disconnected instead show the lasted) and the component.