Skip to content

Commit 9093a4d

Browse files
authored
[vizio] Add semantic tag to Active App channel (#18389)
* Add semantic tags Signed-off-by: Michael Lobstein <[email protected]>
1 parent 3ecbb6b commit 9093a4d

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

bundles/org.openhab.binding.vizio/src/main/resources/OH-INF/thing/vizio.xml

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
<properties>
2525
<property name="modelId">unknown</property>
26+
<property name="thingTypeVersion">1</property>
2627
</properties>
2728

2829
<representation-property>uuid</representation-property>
@@ -65,6 +66,10 @@
6566
<item-type>String</item-type>
6667
<label>Active App</label>
6768
<description>The currently running App on the TV</description>
69+
<tags>
70+
<tag>Control</tag>
71+
<tag>App</tag>
72+
</tags>
6873
</channel-type>
6974

7075
<channel-type id="control">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2+
<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns:update="https://openhab.org/schemas/update-description/v1.0.0"
4+
xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd">
5+
6+
<thing-type uid="vizio:vizio_tv">
7+
<instruction-set targetVersion="1">
8+
<update-channel id="activeApp">
9+
<type>vizio:activeApp</type>
10+
</update-channel>
11+
</instruction-set>
12+
</thing-type>
13+
14+
</update:update-descriptions>

bundles/org.openhab.binding.vizio/src/main/resources/db/apps.json

-8
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,6 @@
160160
"MESSAGE": null
161161
}
162162
},
163-
{
164-
"name": "Redbox",
165-
"config": {
166-
"APP_ID": "41",
167-
"NAME_SPACE": 4,
168-
"MESSAGE": null
169-
}
170-
},
171163
{
172164
"name": "Starz",
173165
"config": {

0 commit comments

Comments
 (0)