mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-30 08:17:35 +00:00
1015 B
1015 B
title | description | logo | ha_category | ha_iot_class | ha_release | ha_config_flow | |
---|---|---|---|---|---|---|---|
Local IP Address | Instructions on how to integrate the Local IP Address sensor into Home Assistant. | home-assistant.png |
|
Local Polling | 0.105 | true |
The 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).
The sensor can be added via the user interface or using the configuration.yaml
file. To enable this sensor, via the configuration.yaml
file, add the following minimal configuration:
# Example configuration.yaml entry
local_ip:
To configure via the user interface, select the Local IP Address
integration.
{% configuration %} name: description: Friendly name of the sensor. required: false type: string default: local_ip {% endconfiguration %}