#set($subject = "$device.name: has entered geofence")
<!DOCTYPE html>
<html>
<body>
Device: $device.name<br>
Has entered geofence: $geofence.name<br>
Time: $event.serverTime<br>
Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br>
</body>
</html>