esphome/tests/components/ethernet_info/test.esp32.yaml

20 lines
341 B
YAML
Raw Normal View History

ethernet:
type: LAN8720
mdc_pin: 23
mdio_pin: 25
clk_mode: GPIO0_IN
phy_addr: 0
power_pin: 26
manual_ip:
static_ip: 192.168.178.56
gateway: 192.168.178.1
subnet: 255.255.255.0
domain: .local
text_sensor:
- platform: ethernet_info
ip_address:
name: IP Address
dns_address:
name: DNS Address