I have provisioned an ESP32 with a DHT sensor and a Hall Effect Flowmeter.
In the logs, the flow is also showing up
but on HA, i am only getting temperature and humidity as the entities.
I have deleted the device from HA, I have restarted HA, I cannot figure it out.
Here is my YAML
name: "basementesp"
friendly_name: Basement
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "txuqkKagOOpKC70uKxpJNQBM7mqfmMKZMWLRjS/wrFM="
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-A114E4"
password: "LKRzojgXG0b4"
captive_portal:
sensor:
- platform: pulse_counter
id: water_pulse
internal: true
name: "Flow"
pin:
number: 5
mode: INPUT_PULLUP
update_interval: 1s
filters:
- lambda: return (x / 477.0) * 60.0;
unit_of_measurement: "L/h"
- platform: dht
pin: 18 # GPIO pin where the DHT22 sensor is connected
model: DHT22
temperature:
name: "Temperature"
unit_of_measurement: "°C"
humidity:
name: "Humidity"
unit_of_measurement: "%"