grab different part of payload
This commit is contained in:
@@ -972,8 +972,8 @@ class EcoVacsXMPP(ClientXMPP):
|
|||||||
|
|
||||||
if as_dict is None:
|
if as_dict is None:
|
||||||
try:
|
try:
|
||||||
other_part = message.get_payload()[1][0]
|
other_part = message.get_payload()[0][1]
|
||||||
_LOGGER.debug("handle_ctl called with get_payload()[1][0], the other part:")
|
_LOGGER.debug("handle_ctl called with get_payload()[0][1], the other part:")
|
||||||
_LOGGER.debug(other_part)
|
_LOGGER.debug(other_part)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
_LOGGER.warning("No extra payload")
|
_LOGGER.warning("No extra payload")
|
||||||
|
|||||||
Reference in New Issue
Block a user