These are various configs I've used, but are in no way complete or bug free. Use at your own risk.
GPS
# Declare GPS modulegps:update_interval:1slatitude:name:"Latitude"longitude:name:"Longitude"altitude:name:"Altitude"speed:name:"Speed"course:name:"Course"satellites:name:"Satellites"# GPS as time sourcetime: - platform:gpsid:gps_timesensor: - platform:hmc5883lfield_strength_x:name:"HMC5883L Field Strength X"field_strength_y:name:"HMC5883L Field Strength Y"field_strength_z:name:"HMC5883L Field Strength Z"heading:name:"HMC5883L Heading"oversampling:1xrange:130uTupdate_interval:60s