(* DUT: struct_room_cmds Room lighting commands from Node-RED/Home Assistant (flat for JSON). Used as input to fb_room. *) TYPE struct_room_cmds : STRUCT // Home Assistant Commands (set/reset) ha_l1_on: BOOL; ha_l1_off: BOOL; ha_l2_on: BOOL; ha_l2_off: BOOL; ha_l3_on: BOOL; ha_l3_off: BOOL; ha_l4_on: BOOL; ha_l4_off: BOOL; ha_l5_on: BOOL; ha_l5_off: BOOL; ha_l6_on: BOOL; ha_l6_off: BOOL; // Zigbee Switch Inputs (edge detection for toggle) zigbee_sw1: BOOL; zigbee_sw2: BOOL; zigbee_sw3: BOOL; zigbee_sw4: BOOL; zigbee_sw5: BOOL; zigbee_sw6: BOOL; // Global Commands ha_all_on: BOOL; ha_all_off: BOOL; END_STRUCT END_TYPE