FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Expose params field on TriggerLogs LogEntry by startlingdan · Pull Request #1697 · python-kasa/python-kasa · GitHub

Repository navigation

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 2 additions & 1 deletion kasa/smart/modules/triggerlogs.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations

from dataclasses import dataclass
from typing import Annotated
from typing import Annotated, Any

from mashumaro import DataClassDictMixin
from mashumaro.types import Alias
Expand All @@ -19,6 +19,7 @@ class LogEntry(DataClassDictMixin):
event_id: Annotated[str, Alias("eventId")]
timestamp: int
event: str
params: dict[str, Any] | None = None


class TriggerLogs(SmartModule):
Expand Down
Loading

Back | FazBrowse Home | New Git URL