Please format your pasted configuration correctly. See point 11 here: Help us help you
Your switch does not have a value_template to determine what state the switch is in.
You could add this to the switch config:
value_template: "{{ is_state('input_boolean.greenhouse_isolate_nft', 'on') }}"
But this seems kind of pointless. Why are you duplicating an input boolean as a switch?