Update enhanced_virtual_thermostat.groovy

Fixed NullPointerException
Fixed unnecessary subscription to temperature events every time a new temperature reading happens