Transform a channel from Switch to Contact

BTW I don’t manually run this generator - with the help of a rule that autoloads changes, every time I changed my “master” devices.yaml file, it autogenerates the .things and .items files for me.