During a multiple value assignment, the ValueError: not enough values to unpack occurs when either you have fewer objects to assign than variables, or you have more variables than objects. This error caused by the mismatch between the number of values returned and the number of variables in the assignment statement. This error happened mostly in the case of using python split function. Verify the assignment variables. If the number of assignment variables is greater than the total number of variables, delete the excess variable from the assignment operator. The number of objects returned, as well as the number of variables available are the same.
To see what line is causing the issue, you could add some debug statements like this:
if len(line.split()) != "xx":
This will resolve the value error.
Ok, I've made some digging on Home Assistant GH and found out it's not a bug but a feature, but they just haven't put any info about the change to their documentation:
Long story short, to use the notation “[Sketch name] [Node id] [Child id]”, there should be no sensor description in presentation().
This is supposed to work with “[Child description]” notation:
present(NOTIFY_SENSOR_ID, S_INFO, "Child description");
And this with “[Sketch name] [Node id] [Child id]” notation:
cvwillegen created this issue in home-assistant/core
notify.mysensors stopped working