#NEWLINE# @ property #NEWLINE# def gps_home( self ) : #NEWLINE# #INDENT# 'Return if device is within range of home.' #NEWLINE# distance = max ( 0 , ( self . hass . config . distance ( * self . gps ) - distance . gps_accuracy ) ) #NEWLINE# return ( ( self . gps is not None ) and ( distance <= self . home_range ) )