Update syncthru for config flow (#13724)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Ville Skyttä 2020-07-14 21:42:31 +03:00 committed by GitHub
parent dfd18e447e
commit 4703358c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 27 deletions

View File

@ -24,11 +24,12 @@ ssdp:
The following integrations are automatically discovered by the SSDP integration: The following integrations are automatically discovered by the SSDP integration:
- [deCONZ](../deconz/) - [deCONZ](/integrations/deconz/)
- [DirecTV](/integrations/directv/) - [DirecTV](/integrations/directv/)
- [Huawei LTE](../huawei_lte/) - [Huawei LTE](/integrations/huawei_lte/)
- [Philips Hue](../hue/) - [Philips Hue](/integrations/hue/)
- [Roku](/integrations/roku/) - [Roku](/integrations/roku/)
- [Samsung TV](../samsungtv/) - [Samsung SyncThru Printer](/integrations/syncthru/)
- [UPnP](../upnp/) - [Samsung TV](/integrations/samsungtv/)
- [Sony Songpal](../songpal/) - [UPnP](/integrations/upnp/)
- [Sony Songpal](/integrations/songpal/)

View File

@ -5,6 +5,7 @@ ha_category:
- System Monitor - System Monitor
ha_iot_class: Local Polling ha_iot_class: Local Polling
ha_release: 0.66 ha_release: 0.66
ha_config_flow: true
ha_codeowners: ha_codeowners:
- '@nielstron' - '@nielstron'
ha_domain: syncthru ha_domain: syncthru
@ -13,30 +14,12 @@ ha_domain: syncthru
The Samsung SyncThru Printer platform allows you to read current data from your local Samsung printer. The Samsung SyncThru Printer platform allows you to read current data from your local Samsung printer.
It usually provides information about the device's state, the left amount of ink or toner and the state of paper trays. It usually provides information about the device's state, the left amount of ink or toner and the state of paper trays.
The platform automatically monitors every supported part.
If you wish not to include certain monitored values specify the values that you would like to see in the front-end via the `monitored_conditions` setting. ## Configuration
```yaml Go to **Configuration** >> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **Samsung SyncThru Printer**.
# Example configuration.yaml entry
sensor:
- platform: syncthru
resource: http://my-printer.address
name: My Awesome Printer
```
{% configuration %} If your printer is on and you have enabled [SSDP](/integrations/ssdp/) discovery, it's likely that the printer is automatically discovered. In that case, you shouldn't need any information to complete configuration - simply confirm that the information displayed is correct.
resource:
description: The address for connecting to the printer. Equal to the SyncThru Webservice address.
required: true
default: false
type: string
name:
description: A user specified name for the printer. Defaults to "Samsung Printer" and the friendly name will be the name of the printer model.
required: false
default: Samsung Printer
type: string
{% endconfiguration %}
The following information is displayed in separate sensors, if it is available: The following information is displayed in separate sensors, if it is available: