Adds a policy to create locations from an entity
Adds CreateLocationPolicywhich configures a location using sensor data from an entity, once the entity is running. The location is added to the catalog for use by other blueprints.
This looks really useful but it could probably do with some tests if that's possible @grkvlt?
Yes, that's true - I'll put something together
I agree with @drigodwin about the tests :)
FYI I've tested the CreateLocationPolicy and it works fine in some scenarios, only a minor comment.
@grkvlt any updates on this?
Thanks for the review @aledsage, I will update appropriately. The use case is for blueprints like Kubernetes, which would be able to add a new KubernetesLocation or similar.
@grkvlt Did you had the time to look at @aledsage's comments for this PR?
@grkvlt Could you look at @aledsage comments please? Would be great to merge this PR 👍
@grkvlt Could you take a look at this to see if it's still relevant, and address the comments please
Thanks