Skip to content

Commit

Permalink
Airfreshener: Storing and restoring counter value to flash
Browse files Browse the repository at this point in the history
  • Loading branch information
CDaxi committed Jan 31, 2023
1 parent b023014 commit ec48e7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions airfreshener/airfreshener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ esphome:

esp8266:
board: esp01_1m
restore_from_flash: true

preferences:
flash_write_interval: 1min

# Enable logging
logger:
Expand Down

0 comments on commit ec48e7c

Please sign in to comment.