-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hey
do we somewhere have a "working" piece of code for this repository - so what are the 5 lines of code that we need to use the library?
e.g. how to I use async_update_weather_stations?
In my current code I had been using
authorization = pyatmo.NetatmoOAuth2(
client_id=CLIENT_ID,
client_secret=CLIENT_SECRET,
# scope="read_station",
)
authorization.extra["refresh_token"]="xxx"
authorization.refresh_tokens()
# 2 : Get devices list
weatherData = pyatmo.WeatherStationData(authorization)
but somehow pyatmo.WeatherStationData does not show any stations anymore...
What's the adviced implementation way right now? Do I need to switch to async_update_weather_stations?
mariofrei
Metadata
Metadata
Assignees
Labels
No labels