Remove duplicated and misspelled fields (#20087)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen
2026-01-17 15:46:23 +01:00
committed by GitHub
parent 04d54f7c72
commit ae079c6aad
2 changed files with 7 additions and 5 deletions
@@ -685,10 +685,6 @@ public class Shelly1ApiJsonDTO {
public Boolean rainSensor; // Flood: true=in rain mode
// FW 1.5.7: Door Window
@SerializedName("dark_treshold")
public Integer darkTreshold; // Illumination definition for "dark" in lux
@SerializedName("twilight_treshold")
public Integer twiLightTreshold; // Illumination definition for "twilight" in lux
@SerializedName("dark_url")
public String darkUrl; // URL to report to when luminance <= dark_threshold
@SerializedName("twilight_url")
@@ -717,8 +713,14 @@ public class Shelly1ApiJsonDTO {
public ShellyMotionSettings motion;
@SerializedName("tamper_sensitivity")
public Integer tamperSensitivity;
/**
* Illumination level threshold for dark condition.
*/
@SerializedName("dark_threshold")
public Integer darkThreshold;
/**
* Illumination level threshold for twilight condition.
*/
@SerializedName("twilight_threshold")
public Integer twilightThreshold;
@@ -303,7 +303,7 @@ public class Shelly2ApiJsonDTO {
@SerializedName("factory_reset")
public Boolean factoryReset;
@SerializedName("report_thr")
public Double reportTreshold; // only for type analog
public Double reportThreshold; // only for type analog
}
public class Shelly2DevConfigSwitch {