You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thanks for the german translation, it is working well, but I think I found one minor error.
For switching on/off lights, for example to turn on a light, I currently have to say "Schalte on Licht". I think the problem is in the file https://github.com/openhab/openhab-mycroft/blob/master/regex/de-de/onoff_command.rx
and the line (schalte|mache|tue) (?P<Command>on|off) (?P<Item>.*)
I think it should be "an|aus" instead of "on|off". Also it would be great if I could also say "Schalte Licht aus" (first item name, than command).
The text was updated successfully, but these errors were encountered:
I found this same issue with my own own translation to Dutch. However when i change the (?Pon|off) to (?Paan|uit), intent stops working
I guess it is due to method def handle_onoff_status_intent, where it states:
if (command != "on") and (command != "off"):
self.speak_dialog('ErrorDialog')
Probably due to openhab expecting ON or OFF, instead of the translated word. Would be nice if we could somehow sort this. Im more then willing to test it out, but have no idea how to fix this using flexible code.
Hi,
first of all thanks for the german translation, it is working well, but I think I found one minor error.
For switching on/off lights, for example to turn on a light, I currently have to say "Schalte on Licht". I think the problem is in the file
https://github.com/openhab/openhab-mycroft/blob/master/regex/de-de/onoff_command.rx
and the line
(schalte|mache|tue) (?P<Command>on|off) (?P<Item>.*)
I think it should be "an|aus" instead of "on|off". Also it would be great if I could also say "Schalte Licht aus" (first item name, than command).
The text was updated successfully, but these errors were encountered: