I just tried it, and had the some behaviour. But no success Just to make sure, here is my yaml:
esphome:
name: acidtanklevel
platform: esp8266
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "334210fbabf6aa3e4702ee0cdcd21495"
wifi:
networks:
- ssid: "Pumproom"
password: "prpw"
- ssid: "Office"
password: "offpw"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-tanklevel"
password: "tanklevel"
sensor:
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 60s #to display WiFi signal strength
# Acid Level Sensor
- platform: ultrasonic
trigger_pin: D5
echo_pin: D6
unit_of_measurement: "%"
icon: "mdi:water-percent"
accuracy_decimals: 1
timeout: 20m
update_interval: 30s
name: "Acid Tank Level" #You may change the tank name
filters:
- lambda: return (1-((x-.10)/1.10))*100;
- filter_out: nan
If that is all correct, the only thing for me to try is taking a whole new set and sold it together again.