v0.3.3 - Sniffer: handle Ayla whitespace in datapoints
Bugfix for the v0.3.2 command sniffer.
Ayla returns string datapoints wrapped in whitespace (a real captured app wake came back as DQeEDwIBVRJqIf9q\n). The trailing newline made the decoder reject the frame, so the Last Captured Command sensor showed only origin/captured_at with no decoded breakdown, and could mis-attribute the integration own echoed command as app.
Fixed
- Strip whitespace from datapoint values before attribution (
_sent_values) and decoding, so frames decode andmatches_integrationis computed correctly.
Verified live on a PrimaDonna Soul: a captured app wake decodes to 0d 07 84 0f 02 01 55 12 + timestamp, matches_integration: true.