Emphasize the need for a URL (#13016)

* Emphasize the need for a URL

IP / hostname without the URI specifier is not sufficient and will lead to an error on config check / Home Assistant restart

* Apply suggestions from code review

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Thomas Redmer 2020-04-17 09:16:57 +02:00 committed by GitHub
parent a3d53ede86
commit 120280c75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ sensor:
{% configuration %}
resource:
description: "The IP address of the Fronius device"
description: "The URL of the Fronius device (e.g., `http://192.0.2.0` or `http://fronius.local`)"
required: true
type: string
monitored_conditions:
@ -96,7 +96,7 @@ a list of sensors that are to be integrated can be given like below.
```yaml
sensor:
- platform: fronius
resource: FRONIUS_IP_ADDRESS
resource: FRONIUS_URL
monitored_conditions:
- sensor_type: inverter
device: 1