This commit is contained in:
Daniele Verducci
2026-02-07 13:26:41 +01:00
parent 4b49539b3c
commit 022232868b

View File

@@ -1,14 +1,22 @@
# NOTE: This program does NOT log via UART, but only via network socket (esphome logs...) # NOTE: This program does NOT log via UART, but only via network socket (esphome logs...)
# Variables
# ---------------------- Global variables ----------------------
globals: globals:
- id: current_folder
type: int
restore_value: no
initial_value: '0'
# The ESP8266 Wi-fi interferes with the NFC reader, for this reason is usually # The ESP8266 Wi-fi interferes with the NFC reader, for this reason is usually
# disabled. When the devices is turned on with the "volume up" key pressed, it # disabled. When the devices is turned on with the "volume up" key pressed, it
# enables the wifi. Used for firmware update, home assistant control and as a night light. # enables the wifi. Used for firmware update, home assistant control and as a night light.
- id: wifi_mode - id: wifi_mode
type: bool type: bool
restore_value: no restore_value: no
initial_value: False initial_value: 'false'
# ---------------------- Global config ---------------------- # ---------------------- Global config ----------------------
@@ -49,15 +57,6 @@ wifi:
reboot_timeout: 0s reboot_timeout: 0s
# ---------------------- Global variables ----------------------
globals:
- id: current_folder
type: int
restore_value: no
initial_value: '0'
# ---------------------- PN532 NFC Reader ---------------------- # ---------------------- PN532 NFC Reader ----------------------
i2c: i2c: