Skip to content

Commit e9dc8fb

Browse files
committed
docs: Update lock example
1 parent 1265fae commit e9dc8fb

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

4.51 KB
Loading

docs/source/forge/sparks/lock.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,20 +385,18 @@ forge:
385385
sparks:
386386
- type: lock
387387
for: hui-tile-card $ ha-tile-icon
388-
icon_locked_color: white
389-
icon_unlocked_color: white
390388
icon_unlocked: mdi:lock-open-outline
389+
duration: 5s
391390
locks:
392391
- code: 1234
393392
admins: true
394393
uix:
395394
style: |
396395
:host {
397396
--uix-lock-opacity: 1;
397+
--uix-lock-icon-color: white;
398398
--uix-lock-icon-background: red;
399399
--uix-lock-icon-background-unlocked: green;
400-
--uix-lock-icon-border-radius: 50%;
401-
--uix-lock-icon-padding: 1px;
402400
}
403401
element:
404402
type: tile

0 commit comments

Comments
 (0)