Files
homeassistant-jackery/custom_components/JackeryHome/sensor.py
不求圣剑 15215ab232 refactor: improve sensor handling and data processing in JackeryHome component
- Introduced a constant for request interval to standardize data request timing.
- Refactored meter serial number mapping logic for clarity and maintainability.
- Enhanced LWT and data message handling with dedicated methods for improved readability and error handling.
- Updated periodic data request logic to utilize the new request interval constant.
2025-11-18 16:08:40 +08:00

17 KiB