From 02c6e81a1e7eb219749054e17e49b78f978ddfa4 Mon Sep 17 00:00:00 2001 From: Cole Gentry Date: Wed, 12 Aug 2026 13:42:36 -0400 Subject: [PATCH] fix(megasquirt): correct MIL channel data_type from boolean to bool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The adapter schema's data_type enum is [float, int, bool, string, enum]; "boolean" is not a member. Across all adapters the value appears 307 times as float, 12 as int, 2 as bool and once as "boolean" — this MIL channel — so it is a typo rather than an intended variant. Consumers that deserialize data_type into a closed enum reject the whole adapter on this one field, which is what happened in UltraLog: the entire MegaSquirt TunerStudio adapter silently failed to load, taking its channel normalisation with it (ClassicMiniDIY/UltraLog#81). --- adapters/megasquirt/megasquirt-tunerstudio.adapter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/megasquirt/megasquirt-tunerstudio.adapter.yaml b/adapters/megasquirt/megasquirt-tunerstudio.adapter.yaml index f90d29f..606f96d 100644 --- a/adapters/megasquirt/megasquirt-tunerstudio.adapter.yaml +++ b/adapters/megasquirt/megasquirt-tunerstudio.adapter.yaml @@ -305,7 +305,7 @@ channels: name: "MIL" description: "Malfunction indicator lamp status (ON/OFF)" category: diagnostics - data_type: boolean + data_type: bool unit: "" min: 0 max: 1