Esp32 ip address

Is it possible in Esphome to get the dynamic IP through a sensor? and return the IP and connected status via display. Gratitude!

# Text Sensors.
text_sensor:
  - platform: wifi_info
    ip_address:
      name: DoorBell IP Address
      id: doorbell_ip_address
      icon: mdi:ip-network

image

Not sure how to show it on a display…(not using any :stuck_out_tongue: )

Take time to search on ESPHome site.

etc. etc.

The sensor itself knows it’s IP address. Not sure if that’s what OP wants, but I think @aceindy 's post is right on the money.

Hi! I also want to use the sensor (or a similar solution) to figure out my IP address.
But first my setup:
ESP Home with D1 mini and OLED display.
Currently, time, date, SOC shown but I also want to show the IP address.
How can I do that? I’m still struggling to use the text sensor and to use it for the output on my OLED.
Br