mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-07-18 00:43:48 +02:00
fix
This commit is contained in:
parent
83fc7448ea
commit
756b7a4fe9
@ -46,7 +46,7 @@ def setupThing(info):
|
||||
info.finish(nymea.ThingErrorHardwareNotAvailable, "Unable to connect to the Philips Air Purifier. Please check if IP and Protocol are set correctly and the purifier is turned on.")
|
||||
return
|
||||
|
||||
status = self._client.get_status(debug)
|
||||
status = purifier.get_status(debug)
|
||||
if status is None:
|
||||
logger.warn("Error reading status from Philips air purifier")
|
||||
info.finish(nymea.ThingErrorHardwareNotAvailable, "Unable to read status from the Philips Air Purifier.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user