Skip to content

Commit

Permalink
Log digitalSTROM events
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat931 committed Feb 21, 2024
1 parent e861f19 commit 96dc6bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/digitalstrom/api/apartment.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ async def get_zones(self):

async def event_callback(self, data) -> None:
if name := data.get("name"):
self.logger.debug(f"event {data}")
if name == "deviceSensorValue":
dsuid = data["source"]["dsid"]
index = int(data["properties"]["sensorIndex"])
Expand Down

0 comments on commit 96dc6bd

Please sign in to comment.