Codereview fixes.
This commit is contained in:
@@ -92,7 +92,7 @@ cameras:
|
|||||||
- [...camera 2...]
|
- [...camera 2...]
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded cameras configuration example](#config-expanded-cameras) for how these paramters are structured.
|
See the [fully expanded cameras configuration example](#config-expanded-cameras) for how these parameters are structured.
|
||||||
|
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
@@ -156,7 +156,7 @@ All configuration is under:
|
|||||||
view:
|
view:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded view configuration example](#config-expanded-view) for how these paramters are structured.
|
See the [fully expanded view configuration example](#config-expanded-view) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -178,7 +178,7 @@ All configuration is under:
|
|||||||
menu:
|
menu:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded menu configuration example](#config-expanded-menu) for how these paramters are structured.
|
See the [fully expanded menu configuration example](#config-expanded-menu) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -231,7 +231,7 @@ All configuration is under:
|
|||||||
live:
|
live:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded live configuration example](#config-expanded-live) for how these paramters are structured.
|
See the [fully expanded live configuration example](#config-expanded-live) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -339,7 +339,7 @@ All configuration is under:
|
|||||||
event_viewer:
|
event_viewer:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded event viewer configuration example](#config-expanded-event-viewer) for how these paramters are structured.
|
See the [fully expanded event viewer configuration example](#config-expanded-event-viewer) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -410,7 +410,7 @@ All configuration is under:
|
|||||||
event_gallery:
|
event_gallery:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded event gallery configuration example](#config-expanded-event-gallery) for how these paramters are structured.
|
See the [fully expanded event gallery configuration example](#config-expanded-event-gallery) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -427,7 +427,7 @@ All configuration is under:
|
|||||||
image:
|
image:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded image configuration example](#config-expanded-image) for how these paramters are structured.
|
See the [fully expanded image configuration example](#config-expanded-image) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -446,7 +446,7 @@ All configuration is under:
|
|||||||
timeline:
|
timeline:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded timeline configuration example](#config-expanded-timeline) for how these paramters are structured.
|
See the [fully expanded timeline configuration example](#config-expanded-timeline) for how these parameters are structured.
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
@@ -481,7 +481,7 @@ All configuration is under:
|
|||||||
dimensions:
|
dimensions:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded dimensions configuration example](#config-expanded-dimensions) for how these paramters are structured.
|
See the [fully expanded dimensions configuration example](#config-expanded-dimensions) for how these parameters are structured.
|
||||||
|
|
||||||
|
|
||||||
| Option | Default | Overridable | Description |
|
| Option | Default | Overridable | Description |
|
||||||
@@ -526,7 +526,7 @@ All configuration is a list under:
|
|||||||
overrides:
|
overrides:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded overrides configuration example](#config-expanded-overrides) for how these paramters are structured.
|
See the [fully expanded overrides configuration example](#config-expanded-overrides) for how these parameters are structured.
|
||||||
|
|
||||||
Various parts of this configuration may conditionally (see [Frigate Card
|
Various parts of this configuration may conditionally (see [Frigate Card
|
||||||
Conditions](#frigate-card-conditions)) be overridden, for example to use custom
|
Conditions](#frigate-card-conditions)) be overridden, for example to use custom
|
||||||
@@ -651,7 +651,7 @@ All configuration is under:
|
|||||||
elements:
|
elements:
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [fully expanded elements configuration example](#config-expanded-elements) for how these paramters are structured.
|
See the [fully expanded elements configuration example](#config-expanded-elements) for how these parameters are structured.
|
||||||
|
|
||||||
**Note**: The Frigate Card allows either a single action (as in stock Home
|
**Note**: The Frigate Card allows either a single action (as in stock Home
|
||||||
Assistant) or list of actions to be defined for each class of user interaction
|
Assistant) or list of actions to be defined for each class of user interaction
|
||||||
@@ -895,7 +895,7 @@ This card supports fully configurable submenus.
|
|||||||
|
|
||||||
### Illustrative Expanded Configuration Reference
|
### Illustrative Expanded Configuration Reference
|
||||||
|
|
||||||
**<font color="red">Caution</font>**: Just copying this full reference into your configuration will cause you a significant maintenance burden. Don't do it! Please only specify what you need as defaults can / do change continually as this card develops. Almost all the values shown here are the defaults (except in cases where is no default for illustrative purposes).
|
**<font color="red">Caution</font>**: Just copying this full reference into your configuration will cause you a significant maintenance burden. Don't do it! Please only specify what you need as defaults can / do change continually as this card develops. Almost all the values shown here are the defaults (except in cases where is no default, parameters are added here for illustrative purposes).
|
||||||
|
|
||||||
<a name="config-expanded-cameras"></a>
|
<a name="config-expanded-cameras"></a>
|
||||||
|
|
||||||
@@ -1091,6 +1091,7 @@ live:
|
|||||||
mode: popup-bottom-right
|
mode: popup-bottom-right
|
||||||
duration_seconds: 2
|
duration_seconds: 2
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1134,6 +1135,7 @@ event_viewer:
|
|||||||
mode: popup-bottom-right
|
mode: popup-bottom-right
|
||||||
duration_seconds: 2
|
duration_seconds: 2
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1162,6 +1164,7 @@ event_gallery:
|
|||||||
show_details: false
|
show_details: false
|
||||||
show_controls: false
|
show_controls: false
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1187,6 +1190,7 @@ image:
|
|||||||
mode: url
|
mode: url
|
||||||
refresh_seconds: 0
|
refresh_seconds: 0
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1541,6 +1545,18 @@ timeline:
|
|||||||
size: 100
|
size: 100
|
||||||
show_details: true
|
show_details: true
|
||||||
show_controls: true
|
show_controls: true
|
||||||
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
|
tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
start_tap_action:
|
||||||
|
action: none
|
||||||
|
end_tap_action:
|
||||||
|
action: none
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -1554,7 +1570,7 @@ Reference: [Override Options](#overrides-options).
|
|||||||
Overrides allow overriding certain (many) configuration parameters when a given
|
Overrides allow overriding certain (many) configuration parameters when a given
|
||||||
condition is met. The below is a fully expanded set of those overridable
|
condition is met. The below is a fully expanded set of those overridable
|
||||||
parameters. This is really just repeating the above expansions of the relevant
|
parameters. This is really just repeating the above expansions of the relevant
|
||||||
sections, rather than indicating new or different paramters, i.e. this
|
sections, rather than indicating new or different parameters, i.e. this
|
||||||
repetition is included for illustrative purposes of what is overridable.
|
repetition is included for illustrative purposes of what is overridable.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -1601,6 +1617,7 @@ overrides:
|
|||||||
mode: popup-bottom-right
|
mode: popup-bottom-right
|
||||||
duration_seconds: 2
|
duration_seconds: 2
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1680,6 +1697,7 @@ overrides:
|
|||||||
mode: url
|
mode: url
|
||||||
refresh_seconds: 0
|
refresh_seconds: 0
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1703,6 +1721,7 @@ overrides:
|
|||||||
- switch.render_card
|
- switch.render_card
|
||||||
dark_mode: 'off'
|
dark_mode: 'off'
|
||||||
actions:
|
actions:
|
||||||
|
entity: light.office_main_lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -1714,6 +1733,7 @@ overrides:
|
|||||||
end_tap_action:
|
end_tap_action:
|
||||||
action: none
|
action: none
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
### Basic cameras configuration
|
### Basic cameras configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user