Attributes in a constraint should be recommended, not optional. _resource was overriding the _entity requirements to optional. This bug fix removes the override.
The patch_state Discovery event class was registered with the Host profile, but not including the profiles/host.json attributes. The built-in device attribute needed a "profile": null statement in its clause.
Related Issue: #1086, #1075
Description of changes:
Attributes in a constraint should be recommended, not optional.
_resource
was overriding the_entity
requirements to optional. This bug fix removes the override.The
patch_state
Discovery event class was registered with theHost
profile, but not including theprofiles/host.json
attributes. The built-indevice
attribute needed a"profile": null
statement in its clause.