Skip to content

Commit

Permalink
Fix package recognition.
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked committed Mar 14, 2021
1 parent 8d25ee8 commit d812dde
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 6 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,19 @@ This option sets the library sizes that will highlight the object that caused
the recording. The default value is `library_size`. This is useful for hiding
the highlight for larger library sizes.

| Name | Type | Required | Default |
|-----------------|-----------|----------|-----------|
| library_animal | css color | no | orangered |
| library_vehicle | css color | no | yellow |
| library_person | css color | no | lime |
| library_package | css color | no | cyan |

These options determine the color of the highligh box.
- `library_animal`; color to use when highlighting an animal
- `library_vehicle`; color to use when highlighting a vehicle
- `library_person`; color to use when highlighting a person
- `library_package`; color to use when highlighting a package

| Name | Type | Required | Default |
|-----------------|--------------|----------|---------|
| max_recordings | Integer | No | 100 |
Expand Down
1 change: 1 addition & 0 deletions dist/hass-aarlo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,7 @@ class AarloGlance extends LitElement {
"Animal": _value( config.library_animal, 'orangered' ),
"Vehicle": _value( config.library_vehicle, 'yellow' ),
"Person": _value( config.library_person, 'lime' ),
"Package": _value( config.library_package, 'cyan' ),
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion lang/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export var messages = {
animal: "Tier",
vehicle: "Fahrzeug",
person: "Person",
parcel: "Paket"
package: "Paket"
},

// camera states
Expand Down
2 changes: 1 addition & 1 deletion lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export var messages = {
animal: "animal",
vehicle: "vehicle",
person: "person",
parcel: "parcel"
package: "package"
},

// camera states
Expand Down
2 changes: 1 addition & 1 deletion lang/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export var messages = {
animal: "animal",
vehicle: "vehículo",
person: "persona",
parcel: "paquete"
package: "paquete"
},

// camera states
Expand Down
2 changes: 1 addition & 1 deletion lang/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export var messages = {
animal: 'animal',
vehicle: 'véhicule',
person: 'personne',
parcel: 'colis',
package: 'colis',
},

// camera states
Expand Down
2 changes: 1 addition & 1 deletion lang/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export var messages = {
animal: "animale",
vehicle: "veicolo",
person: "persona",
parcel: "pacco"
package: "pacco"
},

// camera states
Expand Down
2 changes: 1 addition & 1 deletion lang/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export var messages = {
animal: "djur",
vehicle: "fordon",
person: "person",
parcel: "paket"
package: "paket"
},

// camera states
Expand Down

0 comments on commit d812dde

Please sign in to comment.