mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
15 lines
280 B
Python
15 lines
280 B
Python
"""DHCP discovery data."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from homeassistant.data_entry_flow import BaseServiceInfo
|
|
|
|
|
|
@dataclass(slots=True)
|
|
class DhcpServiceInfo(BaseServiceInfo):
|
|
"""Prepared info from dhcp entries."""
|
|
|
|
ip: str
|
|
hostname: str
|
|
macaddress: str
|