chore: Add a high level direction for improving device and feature discovery - #722
chore: Add a high level direction for improving device and feature discovery#722allenporter wants to merge 1 commit into
Conversation
…scovery This is meant to try to summarize the device features & discovery pieces that need to be improved to get to the next level of home assistant quality.
This sounds like a reasonable proposal to me. |
By this i mean: It sounds like it can work, i don't have any objection to it, and i don't have any other better suggestions. I like the idea of treating "device features" as an internal implementation detail. |
What would the caller API be to check if a feature is supported? An alternative I can think of is to have an enum with supported features on the trait (an enum value per optional field) and the convention would just be that it has a similar name to the specific fields. |
|
The points I am hearing that resonate with me are, that I think can be "decisions" we agree on:
if you agree with that, as a next step we can try a couple specifics like what you are proposing and see if we like them. Your proposed API makes sense, so a prototype is probably in order. I would say we try to use this to identify the existing optional sensors / binary sensors in home assistant (mop, cleaning area, dock entity stuff) and see if we can get something to make sense. |
Attempt to implement this #740 |
This is meant to try to summarize the device features progress and potential next steps, and discovery pieces that need to be improved to get to the next level of home assistant quality.