Skip to content

Commit 822975e

Browse files
committed
2 parents 6b687db + 8e9d3ac commit 822975e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Constructor
238238
```
239239

240240

241-
* Input : : an authorization object (ClientAuth instance), an optional home name, an optional station name
241+
* Input : an authorization object (ClientAuth instance), an optional home name, an optional station name
242242

243243
Return : a WeatherStationData object. This object contains most administration properties of stations and modules accessible to the user and the last data pushed by the station to the Netatmo servers.
244244

@@ -247,8 +247,8 @@ Raise a lnetatmo.NoDevice exception if no weather station is available for the g
247247
If no home is specified, the first returned home will be set as default home. Same apply to station.
248248
If you have only one home and one station, you can safely ignore these new parameters. Note that return order is undefined. If you have multiple homes and a weather station in only one, the default home may be the one without station and the call will fail.
249249

250-
**Breaking change**
251-
> If you used the station name in the past in any method call, you should be aware that Netatmo decided to rename your station with their own value thus your existing code will have to be updated.
250+
>**Breaking change:**
251+
If you used the station name in the past in any method call, you should be aware that Netatmo decided to rename your station with their own value thus your existing code will have to be updated.
252252

253253
Properties, all properties are read-only unless specified:
254254

@@ -450,7 +450,7 @@ Methods :
450450
If you just need the current temperature and humidity reported by a sensor with associated min and max values on the last 24 hours, you can get it all with only one call that handle all required steps including authentication :
451451

452452

453-
**getStationMinMaxTH**(station=None, module=Nonei, home=None) :
453+
**getStationMinMaxTH**(station=None, module=None, home=None) :
454454
* Input : optional station name and/or module name (if no station name is provided, default_station will be used, if no module name is provided, station sensor will be reported).
455455
if no home is specified, first returned home will be used
456456
* Output : A tuple of 6 values (Temperature, Humidity, minT, MaxT, minH, maxH)

0 commit comments

Comments
 (0)