Changing LR Brightness to MQTT in YAML

This commit is contained in:
2021-04-22 07:14:51 -04:00
parent 7557040af5
commit e64dc70d1d
5 changed files with 52 additions and 90 deletions

26
lr_bright_87_49.yaml Normal file
View File

@@ -0,0 +1,26 @@
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