Set default clock alarm time and gate alarm time field by visibility
This commit is contained in:
@@ -103,7 +103,7 @@ This is behavior-focused documentation for item types and their defaults.
|
||||
- `use24Hour=false`
|
||||
- `topOfHourAnnounce=true`
|
||||
- `alarmEnabled=false`
|
||||
- `alarmTime=""`
|
||||
- `alarmTime="12:00 AM"`
|
||||
- Global:
|
||||
- `useSound=none`
|
||||
- `emitSound=sounds/clock.ogg`
|
||||
@@ -121,6 +121,7 @@ This is behavior-focused documentation for item types and their defaults.
|
||||
- `topOfHourAnnounce`: boolean or on/off style input
|
||||
- `alarmEnabled`: boolean or on/off style input
|
||||
- `alarmTime`: `HH:MM` when `use24Hour=true`, otherwise `H:MM AM/PM`
|
||||
- Visible only when `alarmEnabled=true` (`visibleWhen: {"alarmEnabled": true}`)
|
||||
|
||||
### Audio
|
||||
- Spoken clock assets live under `client/public/sounds/clock/el640/`.
|
||||
|
||||
Reference in New Issue
Block a user