PyViCare 2.34.0__tar.gz → 2.34.1__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.
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PKG-INFO +1 -1
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareDeviceConfig.py +4 -2
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareRadiatorActuator.py +2 -2
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareService.py +1 -1
- {pyvicare-2.34.0 → pyvicare-2.34.1}/pyproject.toml +1 -1
- {pyvicare-2.34.0 → pyvicare-2.34.1}/LICENSE +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/Feature.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCare.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareAbstractOAuthManager.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareBrowserOAuthManager.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareCachedService.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareDevice.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareElectricalEnergySystem.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareFuelCell.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareGateway.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareGazBoiler.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareHeatCurveCalculation.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareHeatPump.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareHeatingDevice.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareHybrid.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareOAuthManager.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareOilBoiler.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCarePelletsBoiler.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareRoomSensor.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareUtils.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/PyViCareVentilationDevice.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/PyViCare/__init__.py +0 -0
- {pyvicare-2.34.0 → pyvicare-2.34.1}/README.md +0 -0
|
@@ -82,11 +82,13 @@ class PyViCareDeviceConfig:
|
|
|
82
82
|
(self.asHeatPump, r"Vitocal|VBC70|V200WO1A|CU401B", ["type:heatpump"]),
|
|
83
83
|
(self.asOilBoiler, r"Vitoladens|Vitoradial|Vitorondens|VPlusH|V200KW2_6", []),
|
|
84
84
|
(self.asPelletsBoiler, r"Vitoligno|Ecotronic|VBC550P", []),
|
|
85
|
+
(self.asElectricalEnergySystem, r"E3_VitoCharge_03", ["type:ees"]),
|
|
86
|
+
(self.asVentilation, r"E3_ViAir", ["type:ventilation"]),
|
|
85
87
|
(self.asRadiatorActuator, r"E3_RadiatorActuator", ["type:radiator"]),
|
|
86
88
|
(self.asRoomSensor, r"E3_RoomSensor", ["type:climateSensor"]),
|
|
89
|
+
(self.asGateway, r"E3_TCU41_x04", ["type:gateway;TCU100"]),
|
|
90
|
+
(self.asGateway, r"E3_TCU19_x05", ["type:gateway;TCU200"]),
|
|
87
91
|
(self.asGateway, r"E3_TCU10_x07", ["type:gateway;TCU300"]),
|
|
88
|
-
(self.asElectricalEnergySystem, r"E3_VitoCharge_03", ["type:ees"]),
|
|
89
|
-
(self.asVentilation, r"E3_ViAir", ["type:ventilation"]),
|
|
90
92
|
(self.asGateway, r"Heatbox1", ["type:gateway;VitoconnectOpto1"]),
|
|
91
93
|
(self.asGateway, r"Heatbox2", ["type:gateway;VitoconnectOpto2/OT2"])
|
|
92
94
|
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from PyViCare.
|
|
1
|
+
from PyViCare.PyViCareDevice import Device
|
|
2
2
|
from PyViCare.PyViCareUtils import handleAPICommandErrors, handleNotSupported
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class RadiatorActuator(
|
|
5
|
+
class RadiatorActuator(Device):
|
|
6
6
|
|
|
7
7
|
@handleNotSupported
|
|
8
8
|
def getTemperature(self):
|
|
@@ -48,7 +48,7 @@ class ViCareService:
|
|
|
48
48
|
return hasRoles(requested_roles, self.roles)
|
|
49
49
|
|
|
50
50
|
def _isGateway(self) -> bool:
|
|
51
|
-
return self.hasRoles(["type:gateway;VitoconnectOpto1"]) or self.hasRoles(["type:gateway;VitoconnectOpto2/OT2"]) or self.hasRoles(["type:gateway;TCU300"])
|
|
51
|
+
return self.hasRoles(["type:gateway;VitoconnectOpto1"]) or self.hasRoles(["type:gateway;VitoconnectOpto2/OT2"]) or self.hasRoles(["type:gateway;TCU100"]) or self.hasRoles(["type:gateway;TCU200"]) or self.hasRoles(["type:gateway;TCU300"])
|
|
52
52
|
|
|
53
53
|
def setProperty(self, property_name: str, action: str, data: Any) -> Any:
|
|
54
54
|
url = buildSetPropertyUrl(
|
|
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
|
|
File without changes
|