it “somehow” works, but the type changed to switch and not valve
Is this something that should work?
Or is type: "switch" the only allowed option here?
(And I’m supposed to change the switch to a valve with a helper later? Helper switch as x )
Based on the same ZHA docs you linked to (at the top) valve is not listed as a supported device type. Probably because the valve type was added to HA not that long ago. So you might want to search the forum if there already is an FR for it and vote for it, or add one if there isn’t.