Local IP Address
local_ip sensor will expose the local (LAN) IP address of your Home Assistant instance. This can be useful when your instance has a static public hostname (for example, if you use the Nabu Casa service), but have a dynamically allocated local LAN address (for example, configured via DHCP).
Adding Local IP Address to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
In the bottom right corner, select the Add Integration button.
From the list, select Local IP Address.
Follow the instructions on screen to complete the setup.