Use dataclass to carry data in ping (#99803)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Jan-Philipp Benecke 2023-10-20 23:46:33 +02:00 committed by GitHub
parent b881057aa6
commit 3c455391c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 28 additions and 11 deletions

View file

@ -16,5 +16,3 @@ PING_ATTEMPTS_COUNT = 3
DOMAIN = "ping"
PLATFORMS = [Platform.BINARY_SENSOR]
PING_PRIVS = "ping_privs"