substitutions:
  device_name: lr_bright_87_49
  device_ip: 192.168.87.49

esphome:
  name: ${device_name}
  platform: ESP32
  board: wemos_d1_mini32

<<: !include standard_wifi.yaml
# logger:
#     level: INFO
# api:
ota:
<<: !include standard_mqtt_deepsleep.yaml
deep_sleep:
        run_duration: 2s
        sleep_duration: 9min #40s #24h
        id: deep_sleep_1
sensor:
  - platform: adc
    pin: 34
    name: "Living Room Brightness"
    update_interval: 1s
    id: lr_bright01
    attenuation: 11db