Closed FloatingBoater closed 5 years ago
Hi,
After upgrading to 19.08, Mycroft stopped talking to OpenHAB, so after some light debugging, and a post on the forum, I'd like to contribute back the fixes.
Details are here: https://community.mycroft.ai/t/openhab-skill-enhancement-to-use-skill-settings-fails/7383
In summary:
In __init__.py.orig, move def initialize(self): from line 67 to 51, moving the MycroftSkill methods into initialize(), leaving only super().
__init__.py.orig
initialize()
super()
Add double quotes and value tags to all entries in settingsmeta.yaml
settingsmeta.yaml
name: openHAB skillMetadata: sections: - name: Connection fields: - name: host type: text label: "OpenHAB server IP" value: "localhost" - name: port type: number label: "OpenHAB server port" value: "8080"
Hi, I think this should be covered by my PR #73
Merged.
Hi,
After upgrading to 19.08, Mycroft stopped talking to OpenHAB, so after some light debugging, and a post on the forum, I'd like to contribute back the fixes.
Details are here: https://community.mycroft.ai/t/openhab-skill-enhancement-to-use-skill-settings-fails/7383
In summary:
In
__init__.py.orig
, move def initialize(self): from line 67 to 51, moving the MycroftSkill methods intoinitialize()
, leaving onlysuper()
.Add double quotes and value tags to all entries in
settingsmeta.yaml