Open ColinRobbins opened 1 week ago
Dang, that's something i can't reproduce. i'm wondering what that runtime type is...
Maybe just move the “if” statement generating the error down a line, so its inside the ”try…”
It’ll then catch the issue, and handle better. Does not see to be that important, everything has carried on working.
Does it fail on all recordings?
Not sure about all recordings - this is actually a programme I want to record, so better not play just yet.
I think the issue is that the parameter "source" is returned as a dict. Whereas usually the "source" in the messages is usually returned as an string form of ID and that's what the code is expecting.
'source': {'clientId': 'XXXX', 'profileId': 'XXXX'},
Maybe change the if too...
if isinstance(deviceId,str) and not deviceId in self.settop_boxes.keys():
I think all the the MQTT message is telling us, is that some user has started a background recording - so we don't really care, so can ignore the message,
Describe the bug When I started a local recording on the Virgin Tivo Box (GB), from an iPad app, it triggered the following error in the HA logs.
To Reproduce Start a local recording.
Expected behavior The situation is handled without error
Version of the component v0.6.0
Logging
Additional context Prior to the error in the logs, the following MQTT message was received...