Hellow
I got a Temp sensor configured in ESPHOME on a D1 mini
After latest update… the sensor last value does not stay.
How can I let the last value stay…got an automation running on values.
Thnx in advance.
Below is the Config.
esphome:
name: lya-sensor
esp8266:
board: d1_mini_lite
Enable logging
logger:
Enable Home Assistant API
api:
ota:
wifi:
ssid: “”
password: “”
manual_ip:
Set this to the IP of the ESP
static_ip: 192.168.1.67
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.1.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.0.0
output_power: 8.5dB
power_save_mode: high
Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: “Lya-Sensor Fallback Hotspot”
password: “”
captive_portal:
i2c:
sda: GPIO04
scl: GPIO05
scan: True
id: bus_a
sensor:
- platform: bme280
temperature:
name: “Lyang Temperature”
oversampling: 16x
pressure:
name: “Lyang Pressure”
humidity:
name: “Lyang Humidity”
address: 0x76
update_interval: 60s
deep_sleep:
run_duration: 70s
sleep_duration: 3min