diff --git a/bundles/octoprint/metadata.py b/bundles/octoprint/metadata.py index 6471333..0fa023e 100644 --- a/bundles/octoprint/metadata.py +++ b/bundles/octoprint/metadata.py @@ -22,7 +22,7 @@ defaults = { @metadata_reactor def icinga(metadata): - if not metadata.get('octoprint/api_key', None): + if 'api_key' not in metadata.get('octoprint', {}): return {} return {