Skip to content

Commit

Permalink
Update 3.2-installing-and-configuring.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gcobb321 committed May 12, 2024
1 parent 8effe8c commit 4a52402
Showing 1 changed file with 120 additions and 57 deletions.
177 changes: 120 additions & 57 deletions docs/chapters/3.2-installing-and-configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,66 +227,129 @@ Do the following:
- Select **Take Control**

A blank *Edit Dashboard* screen is displayed

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:
```
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 - Lillian
icon: mdi:information-outline
- **Erase the following code** that HA adds to the beginning of the Lovelace yaml code editor.

```yaml
views:
- title: Home
```
- type: grid
square: false
columns: 1
cards:
- type: custom:icloud3-event-log-card
```
- **Copy the following code** below into the blank editor area. This code is for the *gary_iphone* and *lillian_iphone* device_tracker entities on the left-side of the screen above. Change all occurrences of *gary_iphone* and *lillian_iphone* to the iCloud3 device_tracker entity names for your phones that 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
- type: glance
state_color: true
show_name: true
show_icon: true
show_state: true
columns: 5
entities:
- entity: device_tracker.lillian_iphone
name: Lillian
- entity: sensor.lillian_iphone_arrival_time
name: Arrive
- entity: sensor.lillian_iphone_zone_distance
name: Distance
- entity: sensor.lillian_iphone_travel_time
name: TravTime
- entity: sensor.lillian_iphone_next_update
name: NextUpdt
- type: glance
columns: 5
entities:
- entity: sensor.lillian_iphone_battery
name: Battery
- entity: sensor.lillian_iphone_interval
name: Interval
- entity: sensor.lillian_iphone_moved_distance
name: Moved
- entity: sensor.lillian_iphone_last_located
name: Located
- entity: sensor.lillian_iphone_last_update
name: LastUpdt
- type: entities
entities:
- entity: sensor.lillian_iphone_info
name: Info
icon: mdi:information-outline
- type: grid
cards:
- type: grid
cards: []
- type: grid
square: false
columns: 1
cards:
- type: custom:icloud3-event-log-card
- type: entities
entities:
- type: attribute
entity: sensor.gary_iphone_home_distance
attribute: '--Lillian'
name: Gary <--> Lillian Distance
- type: attribute
entity: sensor.lillian_iphone_home_distance
attribute: '--Lillian-Watch'
name: Lillian <--> Lillian Watch Distance
- type: attribute
entity: sensor.gary_iphone_home_distance
attribute: '--Gary-iPad'
name: Gary <--> Gary iPad Distance
- 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**.
Expand Down

0 comments on commit 4a52402

Please sign in to comment.