Skip to content

Commit

Permalink
Fix some XML errors
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
  • Loading branch information
ecdye committed Dec 9, 2021
1 parent 31e4820 commit 669af15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bundles/org.openhab.binding.omnilink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The devices support some of the following channels:
| `zone_volume` | Dimmer | Volume level of this audio zone. | `audio_zone` |
| `zone_source` | Number | Source for this audio zone. | `audio_zone` |
| `zone_control` | Player | Control the audio zone, e.g. start/stop/next/previous. | `audio_zone` |
| `sysdate` | DateTime | Set controller date/time. | `controller` |
| `system_date` | DateTime | Set controller date/time. | `controller` |
| `last_log` | String | Last log message on the controller, represented in JSON. | `controller` |
| `enable_disable_beeper` | Switch | Enable/Disable the beeper for this/all console(s). | `controller`, `console` |
| `beep` | Switch | Send a beep command to this/all console(s). | `controller`, `console` |
Expand Down Expand Up @@ -253,7 +253,7 @@ Switch MainButton "Toggle button [%s]" <switch> {channel="omnilink:butto
/*
* Other OmniPro items
*/
DateTime OmniProTime "Last Time Update [%1$ta %1$tR]" <time> {channel="omnilink:controller:home:sysdate"}
DateTime OmniProTime "Last Time Update [%1$ta %1$tR]" <time> {channel="omnilink:controller:home:system_date"}
```

### Example `therm-status.map`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class OmnilinkBindingConstants {
public static final String CHANNEL_ROOM_SCENE_D = "scene_d";
public static final String CHANNEL_ROOM_STATE = "state";

public static final String CHANNEL_SYSTEMDATE = "sysdate";
public static final String CHANNEL_SYSTEMDATE = "system_date";
public static final String CHANNEL_EVENT_LOG = "last_log";

// buttons
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<label>OmniLink Controller</label>
<description>An OmniLink controller.</description>
<channels>
<channel id="sysdate" typeId="sysDate"/>
<channel id="system_date" typeId="system_date"/>
<channel id="enable_disable_beeper" typeId="console_enable_disable_beeper">
<label>Console Beepers</label>
</channel>
Expand All @@ -27,11 +27,11 @@
<channel id="upb_link_deactivated_event" typeId="upb_link_deactivated_event"/>
</channels>
<properties>
<property name="model number"/>
<property name="major version"/>
<property name="minor version"/>
<property name="modelNumber"/>
<property name="majorVersion"/>
<property name="minorVersion"/>
<property name="revision"/>
<property name="phone number"/>
<property name="phoneNumber"/>
</properties>
<config-description>
<parameter name="ipAddress" type="text" required="true">
Expand Down Expand Up @@ -62,7 +62,7 @@


<!-- Controller Channels -->
<channel-type id="sysDate">
<channel-type id="system_date">
<item-type>DateTime</item-type>
<label>Date/Time</label>
<description>Set controller date/time.</description>
Expand Down

0 comments on commit 669af15

Please sign in to comment.