Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

append -> update for dict updates #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pyvesync_v2/vesyncfan.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def display_json(self):
"""Return air purifier status and properties in JSON output."""
sup = super().display_json()
sup_val = json.loads(sup)
sup_val.append({
sup_val.update({
"Active Time": str(self.active_time),
"Fan Level": self.fan_level,
"Air Quality": self.air_quality,
Expand Down