Skip to content

Commit

Permalink
Fix device info types
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-dinculescu committed Apr 23, 2024
1 parent 9991907 commit 8b61338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tapo/src/responses/child_device_list_power_strip_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl DecodableResultExt for PlugPowerStripResult {

/// Auto Off Status.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase", tag = "event")]
#[serde(rename_all = "camelCase")]
#[allow(missing_docs)]
pub enum AutoOffStatus {
On,
Expand All @@ -81,7 +81,7 @@ pub enum AutoOffStatus {

/// Overheat Status.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase", tag = "event")]
#[serde(rename_all = "camelCase")]
#[allow(missing_docs)]
pub enum OverheatStatus {
Normal,
Expand Down

0 comments on commit 8b61338

Please sign in to comment.