Fix external IP REST sensor example (#36376)

This commit is contained in:
Franck Nijhof 2024-12-16 14:28:50 +01:00 committed by GitHub
parent 7e614a4359
commit bde43173ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,8 +179,8 @@ You can find your external IP address using the service [JSON Test](https://www.
```yaml ```yaml
sensor: sensor:
- platform: rest - platform: rest
resource: http://ip.jsontest.com name: "External IP"
name: External IP resource: "https://api.ipify.org/?format=json"
value_template: "{{ value_json.ip }}" value_template: "{{ value_json.ip }}"
``` ```