Skip to content

Commit

Permalink
Merge pull request #7 from M0LTE/master
Browse files Browse the repository at this point in the history
Remove smartModes which is broken
  • Loading branch information
sanghviharshit authored Sep 22, 2024
2 parents 76a0623 + 1741114 commit 65dfc01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion milasdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Mila SDK"""

__version__ = "0.4.5"
__version__ = "0.5.0"

from .const import *
from .exceptions import *
Expand Down
10 changes: 0 additions & 10 deletions milasdk/gql/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ def appliance_fields_fragment(ds: DSLSchema):
ds.ApplianceState.modes,
ds.ApplianceState.actualMode
),
ds.Appliance.smartModes.select(
ds.SmartModes.quiet.select(ds.QuietMode.isEnabled),
ds.SmartModes.housekeeper.select(ds.HousekeeperMode.isEnabled),
ds.SmartModes.quarantine.select(ds.QuarantineMode.isEnabled),
ds.SmartModes.sleep.select(ds.SleepMode.isEnabled),
ds.SmartModes.turndown.select(ds.TurndownMode.isEnabled),
ds.SmartModes.whitenoise.select(ds.WhitenoiseMode.isEnabled),
ds.SmartModes.powerSaver.select(ds.PowerSaverMode.isEnabled),
ds.SmartModes.childLock.select(ds.ChildLockMode.isEnabled)
),
ds.Appliance.filter.select(
ds.ApplianceFilter.kind,
ds.ApplianceFilter.installedAt,
Expand Down

0 comments on commit 65dfc01

Please sign in to comment.