Skip to content

Commit

Permalink
Update 1.1-tracking-results-screen.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gcobb321 committed May 12, 2024
1 parent c61d832 commit 60ab7fb
Showing 1 changed file with 68 additions and 63 deletions.
131 changes: 68 additions & 63 deletions docs/chapters/1.1-tracking-results-screen.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,68 +45,73 @@ Do the following:

2. Select **'⋮' (Upper right corner) > Raw configuration editor** and a blank *Edit Configuration* is displayed. Ignore the **+ Add Card**.

3. Copy all of the code in the above code block and past it into the Edit Configuration window.
- **Erase the following code** that HA adds to the beginning of the Lovelace yaml code editor:

```yaml
views:
- title: Home
```
- **Copy the following code** below into the blank editor area. This code is for the *gary_iphone* device_tracker entity on the left-side of the screen above.. Change all occurrences of *gary_iphone* to the iCloud3 device_tracker entity name for your phone you entered in the *Add Devices* screen in step 3.3 above.
```yaml
title: iCloud3
views:
- title: iCloud3
cards:
- square: false
columns: 1
type: grid
cards:
- type: glance
state_color: true
show_name: true
show_icon: true
show_state: true
columns: 5
entities:
- entity: device_tracker.gary_iphone
name: Gary
- entity: sensor.gary_iphone_arrival_time
name: Arrive
- entity: sensor.gary_iphone_zone_distance
name: Distance
- entity: sensor.gary_iphone_travel_time
name: TravTime
- entity: sensor.gary_iphone_next_update
name: NextUpdt
- type: glance
columns: 5
entities:
- entity: sensor.gary_iphone_battery
name: Battery
- entity: sensor.gary_iphone_interval
name: Interval
- entity: sensor.gary_iphone_moved_distance
name: Moved
- entity: sensor.gary_iphone_last_located
name: Located
- entity: sensor.gary_iphone_last_update
name: LastUpdt
- type: entities
entities:
- entity: sensor.gary_iphone_info
name: Info - Gary
icon: mdi:information-outline

- type: grid
square: false
columns: 1
cards:
- type: custom:icloud3-event-log-card
```
3. Sample code will be displayed in the Edit window. Replace it with the sample code, then select **Save**, then select the '**X**' next to Edit Configuration in the upper-left, then select **Done**.

- The sample code is for *gary_iphone*. Be sure to change the entity names to the names of your devices.



- **Erase the following code** that HA adds to the beginning of the Lovelace yaml code editor:

```yaml
views:
- title: Home
```
- **Copy the following code** below into the blank editor area. This code is for the *gary_iphone* device_tracker entity on the left-side of the screen above.. Change all occurrences of *gary_iphone* to the iCloud3 device_tracker entity name for your phone you entered in the *Add Devices* screen in step 3.3 above.,
```yaml
title: iCloud3
views:
- title: iCloud3
cards:
- square: false
columns: 1
type: grid
cards:
- type: glance
state_color: true
show_name: true
show_icon: true
show_state: true
columns: 5
entities:
- entity: device_tracker.gary_iphone
name: Gary
- entity: sensor.gary_iphone_arrival_time
name: Arrive
- entity: sensor.gary_iphone_zone_distance
name: Distance
- entity: sensor.gary_iphone_travel_time
name: TravTime
- entity: sensor.gary_iphone_next_update
name: NextUpdt
- type: glance
columns: 5
entities:
- entity: sensor.gary_iphone_battery
name: Battery
- entity: sensor.gary_iphone_interval
name: Interval
- entity: sensor.gary_iphone_moved_distance
name: Moved
- entity: sensor.gary_iphone_last_located
name: Located
- entity: sensor.gary_iphone_last_update
name: LastUpdt
- type: entities
entities:
- entity: sensor.gary_iphone_info
name: Info
icon: mdi:information-outline

- title: iCloud3 Event Log
path: icloud3-event-log
cards:
- type: custom:icloud3-event-log-card

```

​ 4. Select **Save**, then select the '**X**' next to Edit Configuration in the upper-left, then select **Done**.

0 comments on commit 60ab7fb

Please sign in to comment.