Fixed WSLink bool in resend function.
parent
fc0b8084f1
commit
4614b6b9bb
|
|
@ -86,7 +86,7 @@ class WeatherDataUpdateCoordinator(DataUpdateCoordinator):
|
||||||
raise HTTPUnauthorized
|
raise HTTPUnauthorized
|
||||||
|
|
||||||
if self.config_entry.options.get(WINDY_ENABLED):
|
if self.config_entry.options.get(WINDY_ENABLED):
|
||||||
_ = await self.windy.push_data_to_windy(data)
|
_ = await self.windy.push_data_to_windy(data, _wslink)
|
||||||
|
|
||||||
if self.config.options.get(POCASI_CZ_ENABLED):
|
if self.config.options.get(POCASI_CZ_ENABLED):
|
||||||
await self.pocasi.push_data_to_server(data, "WSLINK" if _wslink else "WU")
|
await self.pocasi.push_data_to_server(data, "WSLINK" if _wslink else "WU")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue