Avatar for the esphome user
esphome
esphome
BlogDocsChangelog

[time] Fix RTC is_valid() rejecting valid times after day_of_year cleanup

#15763Merged
Comparing
rtc-is-valid-day-of-year-fix
(
7ab43cc
) with
dev
(
403a9f7
)
CodSpeed Performance Gauge
0%
Untouched
143
Ignored
1

Benchmarks

144 total
Scheduler_SetTimeout_ExceedPool
::esphome::benchmarks
CodSpeed Performance Gauge
0%
981.6 µs980.4 µs
FormatHexTo_6Bytes
::esphome::benchmarks
CodSpeed Performance Gauge
0%
103.2 µs103.2 µs
CalcAndEncode_BLERawAdvs12
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
Encode_ListEntitiesLightResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
488.4 µs488.4 µs
Encode_ListEntitiesBinarySensorResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
233 µs233 µs
Encode_ListEntitiesSensorResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
348.2 µs348.2 µs
Encode_LightStateResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
322.5 µs322.5 µs
CalcAndEncode_DeviceInfoResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
7.2 ms7.2 ms
NoiseEncrypt_MediumMessage
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
4.7 ms4.7 ms
CalcAndEncode_BLERawAdvs12_Fresh
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
NoiseEncrypt_SmallMessage
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
3.6 ms3.6 ms
CalcAndEncode_DeviceInfoResponse_Fresh
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
7.3 ms7.3 ms
PlaintextFrame_WriteBatch5
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
526.4 µs526.4 µs
CalcAndEncode_ListEntitiesBinarySensorResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
271.6 µs271.6 µs
PlaintextFrame_WriteSensorState
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
108.9 µs108.9 µs
Encode_LogResponse_Short
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
51.1 µs51.1 µs
Encode_SensorStateResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
30.4 µs30.4 µs
ProcessBatch_5Sensors
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
Encode_LogResponse_Typical
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
59.6 µs59.6 µs
NoiseDecrypt_LargeMessage
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
24.5 ms24.5 ms
CalcAndEncode_ListEntitiesLightResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
605.9 µs605.9 µs
CalcAndEncode_ListEntitiesSensorResponse
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
411.3 µs411.3 µs
CalcAndEncode_LogResponse_Typical
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
73.1 µs73.1 µs
CalcAndEncode_LogResponse_Typical_Fresh
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
239.2 µs239.2 µs
Encode_Varint_Large
::esphome::api::benchmarks
CodSpeed Performance Gauge
0%
19.2 µs19.2 µs

Commits

Click on a commit to change the comparison range
Base
dev
403a9f7
0%
Add parameter-name comments at is_valid() call sites
e89af7e
1 month ago
by bdraco
0%
Address Copilot review: clarify is_valid() doc, add regression tests
7ab43cc
1 month ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs