Skip to content

Commit

Permalink
Add LDR sensor dusk/dawn preset control Usermod
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffWDH committed Nov 1, 2023
1 parent 28b8262 commit 2cf3be6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usermods/LDR_Dusk_Dawn_v2/usermod_LDR_Dusk_Dawn_v2.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ class LDR_Dusk_Dawn_v2 : public Usermod {
//JsonArray LDR_Off_Count = user.createNestedArray("LDR off count");
//LDR_Off_Count.add(ldrOffCount);
}

uint16_t getId() {
return USERMOD_ID_LDR_DUSK_DAWN;
}
};

const char LDR_Dusk_Dawn_v2::_name[] PROGMEM = "LDR_Dusk_Dawn_v2";

0 comments on commit 2cf3be6

Please sign in to comment.