Skip to content

Instantly share code, notes, and snippets.

View geertmeersman's full-sized avatar

Geert Meersman geertmeersman

  • 07:50 (UTC +01:00)
View GitHub Profile
@geertmeersman
geertmeersman / util.py
Created November 4, 2024 21:12
Petkit util.py fix
"""Utilities for PetKit Integration"""
from __future__ import annotations
from typing import Any
import async_timeout
from petkitaio import PetKitClient
from petkitaio.exceptions import AuthError, PetKitError, RegionError, ServerError, TimezoneError
from homeassistant.core import HomeAssistant