diff --git a/esphome/fabula.yaml b/esphome/fabula.yaml index 5f23ce0..f74a303 100644 --- a/esphome/fabula.yaml +++ b/esphome/fabula.yaml @@ -1,14 +1,22 @@ # NOTE: This program does NOT log via UART, but only via network socket (esphome logs...) -# Variables + + + +# ---------------------- Global variables ---------------------- + 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 # 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. - id: wifi_mode type: bool restore_value: no - initial_value: False + initial_value: 'false' # ---------------------- Global config ---------------------- @@ -49,15 +57,6 @@ wifi: reboot_timeout: 0s -# ---------------------- Global variables ---------------------- - -globals: - - id: current_folder - type: int - restore_value: no - initial_value: '0' - - # ---------------------- PN532 NFC Reader ---------------------- i2c: