1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Improve typing via hassfest serializer (#117382)

This commit is contained in:
Jakob Schlyter
2024-05-22 08:22:18 +02:00
committed by GitHub
parent 1985a2ad8b
commit 2e68363755
7 changed files with 18 additions and 7 deletions

View File

@@ -5,7 +5,9 @@ To update, run python3 -m script.hassfest
from __future__ import annotations
DHCP: list[dict[str, str | bool]] = [
from typing import Final
DHCP: Final[list[dict[str, str | bool]]] = [
{
"domain": "airzone",
"macaddress": "E84F25*",