From 4642a50f69a82e10f1a63a2fcf56f9c25e87edd0 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Thu, 16 Jan 2025 09:48:11 +0100 Subject: [PATCH] prepare for modbus support AM200 --- src/core/emsesp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/emsesp.cpp b/src/core/emsesp.cpp index 73034d562..af90e7bd1 100644 --- a/src/core/emsesp.cpp +++ b/src/core/emsesp.cpp @@ -358,6 +358,10 @@ void EMSESP::dump_all_entities(uuid::console::Shell & shell) { if (device.device_type == DeviceType::MIXER) { device_id = 0x20; // hc } + // For Heatsource set AM200 + if (device.device_type == DeviceType::HEATSOURCE) { + device_id = EMSdevice::EMS_DEVICE_ID_AHS1; + } // add the device and print out all the entities // for testing the mixer use ... if (device.product_id == 69) {