Categories in HS4 makes me very happy, as it allows me to do many of the things that I was previously doing in an old home automation environment with regards to identifying sets of devices to manipulate. However, unless I missed something, I would suggest an addition in the form of an API that accepts a list of IDs on which it performs an inner join (intersection). I am assuming that there is an SQL query going on underneath, which would be much more efficient than doing multiple API calls and then joins.
Also, these API's deal with IDs rather than Names of categories, yet even though HS4 does not permit duplication of Names, one still must enumerate the results of GetAllCategories() in order to locate the correct key (ID) for the Name (Value). That does not seem like it should be necessary.
Also, these API's deal with IDs rather than Names of categories, yet even though HS4 does not permit duplication of Names, one still must enumerate the results of GetAllCategories() in order to locate the correct key (ID) for the Name (Value). That does not seem like it should be necessary.
Comment