Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ pub(crate) enum ConfigCmd {
/// Add a control element with type-aware defaults
Add {
file: String,
/// Control type: light, switch, presence, alarm-clock, memory, timer, mqtt-sub, mqtt-pub, calendar, autopilot, virtual-input. Use --device to bind device-bound types (e.g. alarm-clock) to a LoxAIRDevice.
/// Control type. Friendly aliases: light, switch, presence, alarm-clock, memory, timer, mqtt-sub, mqtt-pub, calendar, autopilot, virtual-input. Beyond these, --type accepts ANY block type from `lox-cli blocks list` (PascalCase or kebab-case) — e.g. logic gates And/Or/Not/Xor. Use --device to bind device-bound types (e.g. alarm-clock) to a LoxAIRDevice.
#[arg(long = "type")]
control_type: String,
/// Element title
Expand Down