Skip to content

Commit

Permalink
This is the expected parent
Browse files Browse the repository at this point in the history
  • Loading branch information
gluap committed Jan 1, 2022
1 parent 71ad7ce commit 0a88353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyess/ess.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from json import JSONDecodeError

import requests
from zeroconf import Zeroconf, ServiceInfo
from zeroconf import Zeroconf, ServiceInfo, ServiceListener

from pyess.constants import LOGIN_URL, TIMESYNC_URL, GRAPH_TIMESPANS, GRAPH_DEVICES, GRAPH_PARAMS, \
GRAPH_TFORMATS, SWITCH_URL, STATE_URLS, BATT_URL
Expand Down Expand Up @@ -243,7 +243,7 @@ def find_all_esses():
from zeroconf import ServiceBrowser, Zeroconf
esses = []

class MyListener:
class MyListener(ServiceListener):

def remove_service(self, zeroconf, type, name):
pass
Expand Down

0 comments on commit 0a88353

Please sign in to comment.