No, I don’t think I mean ‘switch’, but it’s hard to tell what various protocols call things. It’s truly a set of contacts inside a float that close when the water rises. It’s somewhat analogous to a door sensor which is called a reed switch. So, I don’t really know what to call it, but one would think that a contact sensor would sense contacts.
If you’re correct, then the code called a ‘contact sensor’ is pretty much useless without other supporting stuff of some kind because it doesn’t send anything at all to Z2M; it throws and error instead. That part just doesn’t seem correct.
And, what do you mean by ‘converter’ ? Z2M doesn’t see anything from the contact sensor code.