* Tab5 LVGL: remove invalid ticks(count:0) from current/power meters
The current_meter and power_meter scales set:
ticks:
count: 0
ESPHome's LVGL meter-scale schema requires ticks.count to be >= 2, so
this fails config validation with:
value must be at least 2. count: 0
Both gauges are intentionally tick-less (needle + colored arcs only), so
the ticks block serves no purpose. Removing it lets the Tab5 layout
compile while leaving the gauges visually unchanged.
* Tab5: move rotation display->lvgl for ESPHome 2026.6 compat
ESPHome 2026.6 rejects 'rotation' under display: when LVGL is used:
use of 'rotation' in the display config is not compatible with LVGL,
please set rotation in the LVGL config instead
Moved rotation: 90 into the lvgl: block. mipi_dsi has no hardware
rotation, so LVGL uses software rotation and now auto-transforms touch
coordinates (LvglComponent::rotate_coordinates). The gt911's manual
transform (swap_xy + mirror_y) would therefore double-rotate touch, so
it is removed and the calibration is swapped to panel-native orientation
(x 0..720, y 0..1280). Net touch mapping is unchanged.
* Tab5: replace deprecated meter 'r_mod' with LVGL 9.x equivalents
LVGL 9.4 removed lv_meter; ESPHome emulates it with lv_scale, which
dropped the 'r_mod' (radius modifier) indicator property:
WARNING Property 'r_mod' is deprecated, use 'length' instead
WARNING The 'r_mod' indicator property is not supported in LVGL 9.x
and will be ignored
- Needle (line indicator): r_mod: 25 -> length: -25. ESPHome internally
converts r_mod to length=-abs(r_mod) (meter.py), so a negative length
reproduces the exact same needle; a positive 25 would not.
- Arcs: r_mod has no lv_scale equivalent and was already being ignored,
so it is simply removed. No visual change.
Net rendering is unchanged; only the deprecation warnings are cleared.
* Tab5 (esphome sensors): use IndicatorLine::set_value, lv_meter removed
LVGL 9.4 removed the lv_meter widget and its C API, so the interval
lambda's lv_meter_set_indicator_value() no longer compiles:
error: 'lv_meter_set_indicator_value' was not declared in this scope
ESPHome now emulates meter needles with the IndicatorLine compound, so
set the value via id(<needle>)->set_value(int). This matches the codegen
of the lvgl.indicator.update action already used by the _ha_sensors
variant; the _esphome variant just hadn't been migrated.
- Adjusted light control logic to handle RGB settings and state changes more effectively.
- Introduced a new substitution `board_has_rgb` to indicate RGB functionality availability.
- Removed the deprecated `board_options_rgb_led_status.yaml` file.
- Enhanced CAN bus and RS485 configurations to include LED control based on device status.
- Updated T-Connect and YamBMS behaviour documentation
* Adding FLIP_C3 board
The FLIP_C3 is a simple ESP32-C3 board that has an integrated power supply that has a 60V input. This board can be connected directly to a 48V battery and then be used with the M5Stack Isolated RS485 Unit (U094) to get a RS485 connection back to the master unit. I successfully used 4 of these units to communicate with the JK-BMS B-Series BMS's. The FLIP_C3 has an onboard 5V regulator that can power the RS485 module, 2 UART exposed on connectors that can be used for TTL to the BMS and TTL to the RS485 module. In the US it is available on Amazon, product page: https://wiki.vdbx.io/product/flip_c3
* Added missing GPIOs to FLIP_C3 board