Depending on the code modified you should better submit it in the pilight repository directly.
Yes, mqtt discovery for pilight is not implemented. And currently we don’t how what would be the best way to do it.
There was some discussions here :
Maybe @ahmadk or @Petrica have some ideas.