So I am currently using associated_entity to get the entity of a MSSQL database of which I am creating a plugin:
self.entity = kwargs["associated_entity"]
instance_name = self.entity.properties['mssql_instance_name']
However I see that this is deprecated:
What is the recommendation to use instead?
Solved! Go to Solution.
@Mike_LIt feels awkward to use a external URL API "detour" while you using a SDK for an extension that is locally installed. Also makes the extension brittle as the REST API ist not very stable - currently is using Events API V1...
So is it not possible what I want to do, does the SDK not allow me to create availability events for a given entity and only in the context of the custom_device that is generated by the ActiveGate Extension?