Fix CURL command in WattTime docs (#25525)

This commit is contained in:
Franck Nijhof 2023-01-03 17:18:23 +01:00 committed by GitHub
parent b97dde32df
commit 11831492bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ ha_platforms:
ha_integration_type: service
---
The `watttime` integration allows users to get real-time emissions data for a latitude/longitude from [WattTime](https://www.watttime.org).
The WattTime integration allows users to get real-time emissions data for a latitude/longitude from [WattTime](https://www.watttime.org).
## Registering an Account
@ -23,8 +23,8 @@ WattTime account registration is accomplished [via the REST API itself](https://
```bash
curl -X "POST" "https://api2.watttime.org/v2/register" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
-H 'Content-Type: application/json' \
-d '{
"username": "<USERNAME>",
"password": "<PASSWORD>",
"email": "<EMAIL>",