nvs optimization - relays (except lights)

This commit is contained in:
Edward Firmo
2025-08-05 17:51:18 +02:00
parent 1552aaec6c
commit bda597f748
3 changed files with 238 additions and 82 deletions

View File

@@ -34,6 +34,13 @@ namespace esphome {
// Log tag
static const char *TAG = "tx_ultimate_easy";
struct LightAttributes {
uint8_t brightness;
uint8_t red;
uint8_t green;
uint8_t blue;
};
struct TouchPoint {
uint8_t button = 0;
int8_t x = -1;