This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
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.
Fixes sensor state not updating using coordinator (#12)
- Loading branch information
Showing
8 changed files
with
96 additions
and
100 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,54 @@ | ||
{ | ||
"title": "Plaato", | ||
"config": { | ||
"step": { | ||
"user": { | ||
"title": "Set up the Plaato devices", | ||
"description": "Select what devices you have", | ||
"data": { | ||
"device_name": "Name your device", | ||
"device_type": "Type of Plaato device" | ||
"config": { | ||
"abort": { | ||
"already_configured": "Account is already configured", | ||
"single_instance_allowed": "Already configured. Only a single configuration possible.", | ||
"webhook_not_internet_accessible": "Your Home Assistant instance needs to be accessible from the internet to receive webhook messages." | ||
}, | ||
"create_entry": { | ||
"default": "Your Plaato {device_type} with name **{device_name}** was successfully setup!" | ||
}, | ||
"error": { | ||
"invalid_webhook_device": "You have selected a device that doesn't not support sending data to a webhook. It is only available for the Airlock", | ||
"no_api_method": "You need to add an auth token or select webhook", | ||
"no_auth_token": "You need to add an auth token" | ||
}, | ||
"step": { | ||
"api_method": { | ||
"data": { | ||
"token": "Paste Auth Token here", | ||
"use_webhook": "Use webhook" | ||
}, | ||
"description": "To be able to query the API an `auth_token` is required which can be obtained by following [these](https://plaato.zendesk.com/hc/en-us/articles/360003234717-Auth-token) instructions\n\n Selected device: **{device_type}** \n\nIf you rather use the built in webhook method (Airlock only) please check the box below and leave Auth Token blank", | ||
"title": "Select API method" | ||
}, | ||
"user": { | ||
"data": { | ||
"device_name": "Name your device", | ||
"device_type": "Type of Plaato device" | ||
}, | ||
"description": "Do you want to start set up?", | ||
"title": "Set up the Plaato devices" | ||
}, | ||
"webhook": { | ||
"description": "To send events to Home Assistant, you will need to setup the webhook feature in Plaato Airlock.\n\nFill in the following info:\n\n- URL: `{webhook_url}`\n- Method: POST\n\nSee [the documentation]({docs_url}) for further details.", | ||
"title": "Webhook to use" | ||
} | ||
} | ||
}, | ||
"api_method": { | ||
"title": "Select API method", | ||
"description": "To be able to query the API an `auth_token` is required which can be obtained by following [these](https://plaato.zendesk.com/hc/en-us/articles/360003234717-Auth-token) instructions\n\n Selected device: **{device_type}** \n\nIf you rather use the built in webhook method (Airlock only) please check the box below and leave Auth Token blank", | ||
"data": { | ||
"use_webhook": "Use webhook", | ||
"token": "Paste Auth Token here" | ||
} | ||
}, | ||
"webhook": { | ||
"title": "Webhook to use", | ||
"description": "To send events to Home Assistant, you will need to setup the webhook feature in Plaato Airlock.\n\nFill in the following info:\n\n- URL: `{webhook_url}`\n- Method: POST\n\nSee [the documentation]({docs_url}) for further details." | ||
} | ||
}, | ||
"error": { | ||
"invalid_webhook_device": "You have selected a device that doesn't not support sending data to a webhook. It is only available for the Airlock", | ||
"no_auth_token": "You need to add an auth token", | ||
"no_api_method": "You need to add an auth token or select webhook" | ||
}, | ||
"abort": { | ||
"single_instance_allowed": "Already configured. Only a single configuration possible.", | ||
"webhook_not_internet_accessible": "Your Home Assistant instance needs to be accessible from the internet to receive webhook messages.", | ||
"already_configured": "Device is already configured" | ||
}, | ||
"create_entry": { | ||
"default": "Your Plaato {device_type} with name **{device_name}** was successfully setup!" | ||
} | ||
}, | ||
"options": { | ||
"step": { | ||
"webhook": { | ||
"title": "Options for Plaato Airlock", | ||
"description": "Webhook info:\n\n- URL: `{webhook_url}`\n- Method: POST\n\n" | ||
}, | ||
"user": { | ||
"title": "Options for Plaato", | ||
"description": "Set the update interval (minutes)", | ||
"data": { | ||
"update_interval": "Update interval (minutes)" | ||
"options": { | ||
"step": { | ||
"user": { | ||
"data": { | ||
"update_interval": "Update interval (minutes)" | ||
}, | ||
"description": "Set the update interval (minutes)", | ||
"title": "Options for Plaato" | ||
}, | ||
"webhook": { | ||
"description": "Webhook info:\n\n- URL: `{webhook_url}`\n- Method: POST\n\n", | ||
"title": "Options for Plaato Airlock" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |