switch_controller (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

#config_version=5

switches:
    s_test:
        number: 1
    s_test_events:
        number: 2
        events_when_activated: test_active|100ms, test_active2
        events_when_deactivated: test_inactive, test_inactive2|2s
    s_test_window_ms:
        number: 3
        ignore_window_ms: 100ms
    s_test_invert:
        number: 4
        type: 'NC'