Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svNG plugin harmony: Harmony prefix not registered in plugin.yaml #675

Closed
jksd opened this issue Dec 27, 2022 · 2 comments
Closed

svNG plugin harmony: Harmony prefix not registered in plugin.yaml #675

jksd opened this issue Dec 27, 2022 · 2 comments
Labels

Comments

@jksd
Copy link

jksd commented Dec 27, 2022

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_attribute_prefixes: 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

@msinn
Copy link
Member

msinn commented Feb 22, 2023

The maintainer of the harmony plugin is not active any more.

I have added the item attributes

  • harmony_command_0
  • harmony_command_1
  • harmony_item

to the metadata and bumped the plugin version to 1.4.2

@msinn msinn added the resolved label Feb 22, 2023
@msinn
Copy link
Member

msinn commented Mar 14, 2023

SmartHomeNG v1.9.4 has been released

@msinn msinn closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants