forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tesla] Add channels for active routing (openhab#15705)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
- Loading branch information
Showing
10 changed files
with
230 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
bundles/org.openhab.binding.tesla/src/main/resources/OH-INF/update/instructions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:update="https://openhab.org/schemas/update-description/v1.0.0" | ||
xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd"> | ||
|
||
<thing-type uid="tesla:model3"> | ||
<instruction-set targetVersion="1"> | ||
<add-channel id="destinationname"> | ||
<type>tesla:destinationname</type> | ||
</add-channel> | ||
<add-channel id="destinationlocation"> | ||
<type>tesla:destinationlocation</type> | ||
</add-channel> | ||
<add-channel id="distancetoarrival"> | ||
<type>tesla:distancetoarrival</type> | ||
</add-channel> | ||
<add-channel id="minutestoarrival"> | ||
<type>tesla:minutestoarrival</type> | ||
</add-channel> | ||
<add-channel id="trafficminutesdelay"> | ||
<type>tesla:trafficminutesdelay</type> | ||
</add-channel> | ||
</instruction-set> | ||
</thing-type> | ||
|
||
<thing-type uid="tesla:models"> | ||
<instruction-set targetVersion="1"> | ||
<add-channel id="destinationname"> | ||
<type>tesla:destinationname</type> | ||
</add-channel> | ||
<add-channel id="destinationlocation"> | ||
<type>tesla:destinationlocation</type> | ||
</add-channel> | ||
<add-channel id="distancetoarrival"> | ||
<type>tesla:distancetoarrival</type> | ||
</add-channel> | ||
<add-channel id="minutestoarrival"> | ||
<type>tesla:minutestoarrival</type> | ||
</add-channel> | ||
<add-channel id="trafficminutesdelay"> | ||
<type>tesla:trafficminutesdelay</type> | ||
</add-channel> | ||
</instruction-set> | ||
</thing-type> | ||
|
||
<thing-type uid="tesla:modelx"> | ||
<instruction-set targetVersion="1"> | ||
<add-channel id="destinationname"> | ||
<type>tesla:destinationname</type> | ||
</add-channel> | ||
<add-channel id="destinationlocation"> | ||
<type>tesla:destinationlocation</type> | ||
</add-channel> | ||
<add-channel id="distancetoarrival"> | ||
<type>tesla:distancetoarrival</type> | ||
</add-channel> | ||
<add-channel id="minutestoarrival"> | ||
<type>tesla:minutestoarrival</type> | ||
</add-channel> | ||
<add-channel id="trafficminutesdelay"> | ||
<type>tesla:trafficminutesdelay</type> | ||
</add-channel> | ||
</instruction-set> | ||
</thing-type> | ||
|
||
<thing-type uid="tesla:modely"> | ||
<instruction-set targetVersion="1"> | ||
<add-channel id="destinationname"> | ||
<type>tesla:destinationname</type> | ||
</add-channel> | ||
<add-channel id="destinationlocation"> | ||
<type>tesla:destinationlocation</type> | ||
</add-channel> | ||
<add-channel id="distancetoarrival"> | ||
<type>tesla:distancetoarrival</type> | ||
</add-channel> | ||
<add-channel id="minutestoarrival"> | ||
<type>tesla:minutestoarrival</type> | ||
</add-channel> | ||
<add-channel id="trafficminutesdelay"> | ||
<type>tesla:trafficminutesdelay</type> | ||
</add-channel> | ||
</instruction-set> | ||
</thing-type> | ||
</update:update-descriptions> |