mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
Merge pull request #2356 from MichaelDvP/dev
prepare for modbus support AM200, #2354
This commit is contained in:
@@ -358,6 +358,10 @@ void EMSESP::dump_all_entities(uuid::console::Shell & shell) {
|
|||||||
if (device.device_type == DeviceType::MIXER) {
|
if (device.device_type == DeviceType::MIXER) {
|
||||||
device_id = 0x20; // hc
|
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
|
// add the device and print out all the entities
|
||||||
// for testing the mixer use ... if (device.product_id == 69) {
|
// for testing the mixer use ... if (device.product_id == 69) {
|
||||||
|
|||||||
Reference in New Issue
Block a user