Skip to content

Commit

Permalink
Move RuleHLI service from voice to system (openhab#3625)
Browse files Browse the repository at this point in the history
This is needed to clean-up UI. The categories should be used for add-ons while core services should use `system`.

Signed-off-by: Jan N. Klug <github@klug.nrw>
GitOrigin-RevId: 0df4857
  • Loading branch information
J-N-K authored and splatch committed Jul 12, 2023
1 parent df58d2b commit 63c60e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
https://openhab.org/schemas/config-description-1.0.0.xsd">

<config-description uri="voice:rulehli">
<config-description uri="system:rulehli">
<parameter name="item" type="text">
<context>item</context>
<filter><criteria name="type">String</criteria></filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
@NonNullByDefault
@Component(immediate = true, service = HumanLanguageInterpreter.class, configurationPid = "org.openhab.rulehli", //
property = Constants.SERVICE_PID + "=org.openhab.rulehli")
@ConfigurableService(category = "voice", label = "Rule Voice Interpreter", description_uri = RuleHumanLanguageInterpreter.CONFIG_URI)
@ConfigurableService(category = "system", label = "Rule Voice Interpreter", description_uri = RuleHumanLanguageInterpreter.CONFIG_URI)
public class RuleHumanLanguageInterpreter implements HumanLanguageInterpreter {

private final Logger logger = LoggerFactory.getLogger(RuleHumanLanguageInterpreter.class);

// constants for the configuration properties
protected static final String CONFIG_URI = "voice:rulehli";
protected static final String CONFIG_URI = "system:rulehli";

private String itemName = "VoiceCommand";

Expand Down

0 comments on commit 63c60e6

Please sign in to comment.