Skip to content

Commit a9a241e

Browse files
Copilotstritti
andcommitted
Fix EditorConfig and Markdown linting: proper continuation line spacing
Co-authored-by: stritti <184547+stritti@users.noreply.github.com>
1 parent 8c0a671 commit a9a241e

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

docs/edge-case-analysis.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -774,33 +774,34 @@ To validate fixes for these edge cases, implement tests for:
774774

775775
1. **Sensor failure scenarios**:
776776

777-
- Disconnect sensor during operation
778-
- No sensors at startup
779-
- Intermittent sensor connection
777+
- Disconnect sensor during operation
778+
- No sensors at startup
779+
- Intermittent sensor connection
780780

781781
2. **Time and timer scenarios**:
782782

783-
- WiFi loss during operation
784-
- NTP sync failures
785-
- Midnight crossing timers
786-
- DST transitions
783+
- WiFi loss during operation
784+
- NTP sync failures
785+
- Midnight crossing timers
786+
- DST transitions
787787

788788
3. **Memory stress tests**:
789789

790-
- Run for >50 days (millis overflow)
791-
- Low memory conditions
792-
- Rapid MQTT message floods
790+
- Run for >50 days (millis overflow)
791+
- Low memory conditions
792+
- Rapid MQTT message floods
793793

794794
4. **Invalid input tests**:
795795

796-
- Out-of-range values
797-
- Invalid string formats
798-
- Malformed MQTT messages
796+
- Out-of-range values
797+
- Invalid string formats
798+
- Malformed MQTT messages
799799

800800
5. **Platform-specific tests**:
801-
- Test on both ESP32 and ESP8266
802-
- Verify state persistence
803-
- Power failure recovery
801+
802+
- Test on both ESP32 and ESP8266
803+
- Verify state persistence
804+
- Power failure recovery
804805

805806
---
806807

src/DallasTemperatureNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void DallasTemperatureNode::loop() {
106106
if (DEVICE_DISCONNECTED_C == newTemp) {
107107
Homie.getLogger() << cIndent
108108
<< F("✖ Sensor disconnected - setting temp to "
109-
"NaN for safety")
109+
"NaN for safety")
110110
<< endl;
111111
_temperature = NAN; // Set to invalid value for safety
112112
_sensorFound = false;

src/RuleAuto.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ bool RuleAuto::checkPoolPumpTimer() {
101101
TimerSetting ts = getTimerSetting();
102102
bool crossesMidnight = (ts.timerStartHour > ts.timerEndHour) ||
103103
(ts.timerStartHour == ts.timerEndHour &&
104-
ts.timerStartMinutes > ts.timerEndMinutes);
104+
ts.timerStartMinutes > ts.timerEndMinutes);
105105

106106
if (crossesMidnight) {
107107
// Timer crosses midnight (e.g., 22:00 - 02:00)

0 commit comments

Comments
 (0)