added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="pushbullet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
|
||||
|
||||
<name>@text/binding.pushbullet.name</name>
|
||||
<description>@text/binding.pushbullet.description</description>
|
||||
<author>Hakan Tandoğan</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,17 @@
|
||||
# binding
|
||||
binding.pushbullet.name = Pushbullet Binding
|
||||
binding.pushbullet.description = The Pushbullet binding allows you to send messages to other users of the Pushbullet service.
|
||||
|
||||
# action
|
||||
actionSendPushbulletNoteLabel = publish an Pushbullet message
|
||||
actionSendPushbulletNoteDesc = Publishes a Title to the given Pushbullet Recipient.
|
||||
|
||||
actionSendPushbulletNoteInputRecipientLabel = Pushbullet Recipient
|
||||
actionSendPushbulletNoteInputRecipientDesc = The Recipient to publish a Title to.
|
||||
actionSendPushbulletNoteInputTitleLabel = Title
|
||||
actionSendPushbulletNoteInputTitleDesc = The Title to publish
|
||||
actionSendPushbulletNoteInputMessageLabel = Message
|
||||
actionSendPushbulletNoteInputMessageDesc = The Message to publish
|
||||
|
||||
# error texts
|
||||
offline.conf-error-httpresponseexception = The pushbullet server reported an error, possibly an expired token. Check on web site
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="pushbullet"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<thing-type id="bot">
|
||||
<label>Pushbullet Bot</label>
|
||||
<description>Bot to send messages with.</description>
|
||||
|
||||
<channels>
|
||||
<channel id="recipient" typeId="recipient-channel"/>
|
||||
<channel id="title" typeId="title-channel"/>
|
||||
<channel id="message" typeId="message-channel"/>
|
||||
</channels>
|
||||
|
||||
<config-description>
|
||||
<parameter name="name" type="text" required="false">
|
||||
<label>Name</label>
|
||||
<description>Explicit Name of Bot, if wanted</description>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
<parameter name="token" type="text" required="true">
|
||||
<label>Token</label>
|
||||
<description>Token as obtained from the server</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="apiUrlBase" type="text" required="true">
|
||||
<label>API Server</label>
|
||||
<description>The Pushbullet API Server to use, for local testing</description>
|
||||
<default>https://api.pushbullet.com/v2</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
<channel-type id="recipient-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Recipient</label>
|
||||
<description>Mail address or Channel Name</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="title-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Title</label>
|
||||
<description>Title of the message</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="message-channel">
|
||||
<item-type>String</item-type>
|
||||
<label>Message</label>
|
||||
<description>The text that is to be sent</description>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user