Migrating from Domoticz to HA, Mysensors are not shown

Hi!

Obligatory, I am new here…

So I really like the HA interface and I would like to migrate my system to HA from Domoticz. However, I am stuck at the first thing to move, the Mysensors gateway.

I have done the gateway long long ago and only now barely start to remember how the whole Mysensors work. All in all, Domoticz is reading the values fine.
In HA, however, I get the following message:

homeassistant  | 2023-02-04 20:24:08.280 WARNING (MainThread) [mysensors] Invalid <Message data="0;0;3;0;9;read: 10-10-0 s=0,c=1,t=0,pt=7,l=5,sg=0:58.5">: When message type is 3, child_id must be 255 for object value @ data['child_id']. Got 0
homeassistant  | 2023-02-04 20:24:08.303 WARNING (MainThread) [mysensors] Node 10 is unknown
homeassistant  | 2023-02-04 20:24:08.341 WARNING (MainThread) [mysensors] Invalid <Message data="0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:52.5">: When message type is 3, child_id must be 255 for object value @ data['child_id']. Got 0
homeassistant  | 2023-02-04 20:24:08.359 WARNING (MainThread) [mysensors] Node 10 is unknown
h

As I understand there are lines that HA can’t parse, however, there was one line that it could parse. In that case why HA didn’t register the service? The raw output of the gateway is as follows:

0;0;3;0;9;read: 10-10-0 s=0,c=1,t=0,pt=7,l=5,sg=0:58.4
10;0;1;0;0;58.4
0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:57.6
10;1;1;0;0;57.6

Ok, so I figured it out. The way mysensors (at least this protocol version) work is that they send node data when they start up. So if the gateway is started later and it doesn’t have any node data that it has persisted before it will throw this error.
So the solution was to restart the sensors