mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Fix CURL command in WattTime docs (#25525)
This commit is contained in:
parent
b97dde32df
commit
11831492bf
@ -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>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user