File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import lyric
22
3- client_id = r'j9ShGaDTsOWlykvAeJCNcMpO76gGwGq6 '
4- client_secret = r'vtt3qfspAhzgLLyU '
3+ client_id = r''
4+ client_secret = r''
55
66redirect_uri = 'https://hass.deproducties.com:8123/lyric'
77app_name = 'Sample'
88token_cache_file = 'token.txt'
99
10- lapi = lyric .Lyric (client_id = client_id , client_secret = client_secret ,
11- token_cache_file = token_cache_file ,
10+ lapi = lyric .Lyric (client_id = client_id , client_secret = client_secret ,
11+ token_cache_file = token_cache_file ,
1212 redirect_uri = redirect_uri , app_name = app_name )
1313
1414if lapi ._token is None :
2323print (location .thermostats [0 ].displayedOutdoorHumidity )
2424print (location .thermostats [0 ].indoorTemperature )
2525print (location .thermostats [0 ].outdoorTemperature )
26- print (location .thermostats [0 ].indoorHumidityStatus )
26+ print (location .thermostats [0 ].indoorHumidityStatus )
You can’t perform that action at this time.
0 commit comments