Custom Climate Device/Card Using NON climate entities?

I want to make a climate card to control my humidifier.

I currently can get a digital humidity reading from my Nest thermostat and I can manually set the humidity on my humidifier by using a shell_command e.g ‘php humidity-script.php {{ humidity_value }}’

Is it possible to combine these into a thermostat card where it displays my humidity % and the controls send a numeric value to my shell command?