due to missing registration of "harmony_" Prefix, there are several warnings in var/log/smarthome-details.log when restarting svNG:
WARNING lib.metadata Item 'harmony.hub.current_activity', attribute 'harmony_item': Attribute is undefined and has value 'current_activity_id' (defined in harmony.yaml)
WARNING lib.metadata Item 'harmony.hub.current_activity_name', attribute 'harmony_item': Attribute is undefined and has value 'current_activity_name' (defined in harmony.yaml)
WARNING lib.metadata Item 'harmony.activity.PowerOff', attribute 'harmony_command_1': Attribute is undefined and has value '['activity:-1']' (defined in harmony.yaml)
WARNING lib.metadata Item 'harmony.activity.TV_SAT', attribute 'harmony_command_1': Attribute is undefined and has value '['activity:27083101']' (defined in harmony.yaml)
To fix this, "harmony_" prefix has to be declared in plugins/harmony/plugin.yaml:
classname: Harmony # class containing the plugin
attribute_prefix: harmony
and
item_attributeprefixes:
harmony:
type: foo
description:
de: 'Definiert das Item, das in einem konkreten Zustand evaluiert oder geändert werden soll'
en: 'Definition of an item that should be evaluated or changed in a specific state'
Hi,
due to missing registration of "harmony_" Prefix, there are several warnings in var/log/smarthome-details.log when restarting svNG:
WARNING lib.metadata Item 'harmony.hub.current_activity', attribute 'harmony_item': Attribute is undefined and has value 'current_activity_id' (defined in harmony.yaml) WARNING lib.metadata Item 'harmony.hub.current_activity_name', attribute 'harmony_item': Attribute is undefined and has value 'current_activity_name' (defined in harmony.yaml) WARNING lib.metadata Item 'harmony.activity.PowerOff', attribute 'harmony_command_1': Attribute is undefined and has value '['activity:-1']' (defined in harmony.yaml) WARNING lib.metadata Item 'harmony.activity.TV_SAT', attribute 'harmony_command_1': Attribute is undefined and has value '['activity:27083101']' (defined in harmony.yaml)
To fix this, "harmony_" prefix has to be declared in plugins/harmony/plugin.yaml:
classname: Harmony # class containing the plugin attribute_prefix: harmony
and
item_attributeprefixes: harmony: type: foo description: de: 'Definiert das Item, das in einem konkreten Zustand evaluiert oder geändert werden soll' en: 'Definition of an item that should be evaluated or changed in a specific state'
Please add to repo. Thank you in advance !
Best regards, Jörk