The Hubitat Elevation hub can communicate to devices via Zigbee, Z-Wave, or LAN. In order to bridge from the real world of Digital/Analog Inputs and Outputs, you'll need a device that uses one of the three communications protocols I have listed above.
If you decided to roll your own devices, you can utilize my HubDuino software to run a sketch on an Arduino, ESP8266, or ESP32 which will handle most of the work for you (i.e. minimizes custom code writing.)