Skip to content

Commit

Permalink
Add default value for SetOption151 (#21560)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored Jun 3, 2024
1 parent 4f73247 commit 01f9097
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasmota/my_user_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,9 @@
#define USE_ZIGBEE_MAXTIME_LIGHT 60*60 // 1h
#define USE_ZIGBEE_MAXTIME_LIFT 4*60*60 // 4h

// -- Matter support (ESP32 and variants) ----------------------------
#define MATTER_ENABLED false // Is Matter enabled by default (ie `SO151 1`)

// -- Other sensors/drivers -----------------------

//#define USE_SHIFT595 // Add support for 74xx595 8-bit shift registers (+0k7 code)
Expand Down Expand Up @@ -1239,6 +1242,10 @@
// #define BE_LV_WIDGET_TABVIEW
// #define BE_LV_WIDGET_TILEVIEW

// -- Matter protocol ---------------------------------
// #define USE_MATTER_DEVICE // Enable Matter device support (+420KB)
// Enabled by default in standard ESP32 binary

#endif // ESP32

/*********************************************************************************************\
Expand Down
3 changes: 3 additions & 0 deletions tasmota/tasmota_support/settings.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,9 @@ void SettingsDefaultSet2(void) {
#endif
#endif // FIRMWARE_MINIMAL

// Matter
flag6.matter_enabled |= MATTER_ENABLED;

Settings->flag = flag;
Settings->flag2 = flag2;
Settings->flag3 = flag3;
Expand Down

0 comments on commit 01f9097

Please sign in to comment.