mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 06:43:48 +01:00
Update esphome/components/mdns/__init__.py
This commit is contained in:
@@ -101,7 +101,7 @@ async def _mdns_txt_record_templated(
|
|||||||
|
|
||||||
|
|
||||||
def mdns_service(
|
def mdns_service(
|
||||||
service: str, proto: str, port: int, txt_records: list[dict[str, str]]
|
service: str, proto: str, port: int, txt_records: list[cg.RawExpression]
|
||||||
) -> cg.StructInitializer:
|
) -> cg.StructInitializer:
|
||||||
"""Create a mDNS service.
|
"""Create a mDNS service.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user