Use mesh topology and add 3 more attr for Fritz (#63049)

* Use mesh topology and add 3 more attr

* Apply review comment
This commit is contained in:
Simone Chemelli
2021-12-30 23:23:55 +01:00
committed by GitHub
parent b5300fb32e
commit 6725e4033c
3 changed files with 133 additions and 36 deletions

View File

@@ -2,8 +2,18 @@
from typing import Literal
from homeassistant.backports.enum import StrEnum
from homeassistant.const import Platform
class MeshRoles(StrEnum):
"""Available Mesh roles."""
NONE = "none"
MASTER = "master"
SLAVE = "slave"
DOMAIN = "fritz"
PLATFORMS = [