Update raspi_led_thermo.py

There was an error in the sample code:
if self.connected :
self.factory(notif, params, device_id = self.info.id, device_key = self.info.key)

The changed version:
if self.connected :
            self.factory.notify(notif, params, device_id = self.info.id, device_key = self.info.key)