python-tado 0.17.4__tar.gz → 0.17.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-tado-0.17.4/python_tado.egg-info → python-tado-0.17.5}/PKG-INFO +1 -1
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/const.py +19 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/interface.py +16 -3
- {python-tado-0.17.4 → python-tado-0.17.5/python_tado.egg-info}/PKG-INFO +1 -1
- {python-tado-0.17.4 → python-tado-0.17.5}/setup.py +1 -1
- {python-tado-0.17.4 → python-tado-0.17.5}/AUTHORS +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/LICENSE +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/__init__.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/__main__.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/exceptions.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/http/__init__.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/http/http.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/logging/__init__.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/logging/logging.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/polyfill/__init__.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/polyfill/strenum.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/PyTado/zone.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/README.md +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/python_tado.egg-info/SOURCES.txt +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/python_tado.egg-info/dependency_links.txt +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/python_tado.egg-info/entry_points.txt +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/python_tado.egg-info/not-zip-safe +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/python_tado.egg-info/requires.txt +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/python_tado.egg-info/top_level.txt +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/setup.cfg +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/tests/test_tado.py +0 -0
- {python-tado-0.17.4 → python-tado-0.17.5}/tests/test_zone.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-tado
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.5
|
|
4
4
|
Summary: PyTado from chrism0dwk, modfied by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon
|
|
5
5
|
Home-page: https://github.com/wmalgadey/PyTado
|
|
6
6
|
Author: chrism0dwk, w.malgadey
|
|
@@ -22,6 +22,25 @@ CONST_FAN_LOW = "LOW"
|
|
|
22
22
|
CONST_FAN_MIDDLE = "MIDDLE"
|
|
23
23
|
CONST_FAN_HIGH = "HIGH"
|
|
24
24
|
|
|
25
|
+
CONST_FAN_SPEED_OFF = "OFF"
|
|
26
|
+
CONST_FAN_SPEED_AUTO = "AUTO"
|
|
27
|
+
CONST_FAN_SPEED_SILENT = "SILENT"
|
|
28
|
+
CONST_FAN_SPEED_LEVEL1 = "LEVEL1"
|
|
29
|
+
CONST_FAN_SPEED_LEVEL2 = "LEVEL1"
|
|
30
|
+
CONST_FAN_SPEED_LEVEL3 = "LEVEL3"
|
|
31
|
+
CONST_FAN_SPEED_LEVEL4 = "LEVEL4"
|
|
32
|
+
|
|
33
|
+
CONST_VERTICAL_SWING_OFF = "OFF"
|
|
34
|
+
CONST_VERTICAL_SWING_ON = "ON"
|
|
35
|
+
|
|
36
|
+
CONST_HORIZONTAL_SWING_OFF = "OFF"
|
|
37
|
+
CONST_HORIZONTAL_SWING_ON = "ON"
|
|
38
|
+
CONST_HORIZONTAL_SWING_LEFT = "LEFT"
|
|
39
|
+
CONST_HORIZONTAL_SWING_MID_LEFT = "MID_LEFT"
|
|
40
|
+
CONST_HORIZONTAL_SWING_MID = "MID"
|
|
41
|
+
CONST_HORIZONTAL_SWING_MID_RIGHT = "MID_RIGHT"
|
|
42
|
+
CONST_HORIZONTAL_SWING_RIGHT = "RIGHT"
|
|
43
|
+
|
|
25
44
|
# When we change the temperature setting, we need an overlay mode
|
|
26
45
|
CONST_OVERLAY_TADO_MODE = "NEXT_TIME_BLOCK" # wait until tado changes the mode automatic
|
|
27
46
|
CONST_OVERLAY_MANUAL = "MANUAL" # the user has change the temperature or mode manually
|
|
@@ -509,7 +509,8 @@ class Tado:
|
|
|
509
509
|
|
|
510
510
|
# <editor-fold desc="Deprecated">
|
|
511
511
|
def setZoneOverlay(self, zone, overlayMode, setTemp=None, duration=None, deviceType='HEATING', power="ON",
|
|
512
|
-
mode=None, fanSpeed=None, swing=None
|
|
512
|
+
mode=None, fanSpeed=None, swing=None, fanLevel=None, verticalSwing=None,
|
|
513
|
+
horizontalSwing=None):
|
|
513
514
|
"""Set current overlay for a zone (Deprecated)"""
|
|
514
515
|
warnings.warn("The 'setZoneOverlay' method is deprecated, "
|
|
515
516
|
"use 'set_zone_overlay' instead", DeprecationWarning, 2)
|
|
@@ -522,12 +523,17 @@ class Tado:
|
|
|
522
523
|
power=power,
|
|
523
524
|
mode=mode,
|
|
524
525
|
fan_speed=fanSpeed,
|
|
525
|
-
swing=swing
|
|
526
|
+
swing=swing,
|
|
527
|
+
fan_level=fanLevel,
|
|
528
|
+
vertical_swing=verticalSwing,
|
|
529
|
+
horizontal_swing=horizontalSwing
|
|
530
|
+
)
|
|
526
531
|
|
|
527
532
|
# </editor-fold>
|
|
528
533
|
|
|
529
534
|
def set_zone_overlay(self, zone, overlay_mode, set_temp=None, duration=None, device_type='HEATING', power="ON",
|
|
530
|
-
mode=None, fan_speed=None, swing=None
|
|
535
|
+
mode=None, fan_speed=None, swing=None, fan_level=None, vertical_swing=None,
|
|
536
|
+
horizontal_swing=None):
|
|
531
537
|
"""
|
|
532
538
|
Set current overlay for a zone
|
|
533
539
|
"""
|
|
@@ -541,8 +547,15 @@ class Tado:
|
|
|
541
547
|
post_data["setting"]["temperature"] = {"celsius": set_temp}
|
|
542
548
|
if fan_speed is not None:
|
|
543
549
|
post_data["setting"]["fanSpeed"] = fan_speed
|
|
550
|
+
elif fan_level is not None:
|
|
551
|
+
post_data["setting"]["fanLevel"] = fan_level
|
|
544
552
|
if swing is not None:
|
|
545
553
|
post_data["setting"]["swing"] = swing
|
|
554
|
+
else:
|
|
555
|
+
if vertical_swing is not None:
|
|
556
|
+
post_data["setting"]["verticalSwing"] = vertical_swing
|
|
557
|
+
if horizontal_swing is not None:
|
|
558
|
+
post_data["setting"]["horizontalSwing"] = horizontal_swing
|
|
546
559
|
|
|
547
560
|
if mode is not None:
|
|
548
561
|
post_data["setting"]["mode"] = mode
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-tado
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.5
|
|
4
4
|
Summary: PyTado from chrism0dwk, modfied by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon
|
|
5
5
|
Home-page: https://github.com/wmalgadey/PyTado
|
|
6
6
|
Author: chrism0dwk, w.malgadey
|
|
@@ -19,7 +19,7 @@ readme = open(here('README.md')).read()
|
|
|
19
19
|
requirements = [x.strip() for x in open(here('requirements.txt')).readlines()]
|
|
20
20
|
|
|
21
21
|
setup(name='python-tado',
|
|
22
|
-
version='0.17.
|
|
22
|
+
version='0.17.5',
|
|
23
23
|
description='PyTado from chrism0dwk, modfied by w.malgadey, diplix, michaelarnauts, LenhartStephan, splifter, syssi, andersonshatch, Yippy, p0thi, Coffee2CodeNL, chiefdragon',
|
|
24
24
|
long_description=readme,
|
|
25
25
|
keywords='tado',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|