PyViCare 2.41.2__tar.gz → 2.42.0__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.41.2 → pyvicare-2.42.0}/PKG-INFO +1 -1
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareFuelCell.py +10 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareRadiatorActuator.py +4 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareRoomSensor.py +4 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/pyproject.toml +1 -1
- {pyvicare-2.41.2 → pyvicare-2.42.0}/LICENSE +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/Feature.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCare.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareAbstractOAuthManager.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareBrowserOAuthManager.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareCachedService.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareDevice.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareDeviceConfig.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareElectricalEnergySystem.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareGateway.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareGazBoiler.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareHeatCurveCalculation.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareHeatPump.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareHeatingDevice.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareHybrid.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareOAuthManager.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareOilBoiler.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCarePelletsBoiler.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareService.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareUtils.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/PyViCareVentilationDevice.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/PyViCare/__init__.py +0 -0
- {pyvicare-2.41.2 → pyvicare-2.42.0}/README.md +0 -0
|
@@ -328,6 +328,16 @@ class FuelCell(HeatingDevice):
|
|
|
328
328
|
def getFuelCellGasConsumptionThisYear(self):
|
|
329
329
|
return self.service.getProperty("heating.gas.consumption.fuelCell")["properties"]["year"]["value"][0]
|
|
330
330
|
|
|
331
|
+
@handleNotSupported
|
|
332
|
+
def getSupplyPressureUnit(self) -> str:
|
|
333
|
+
# Returns heating supply pressure unit (e.g. bar)
|
|
334
|
+
return str(self.service.getProperty("heating.sensors.pressure.supply")["properties"]["value"]["unit"])
|
|
335
|
+
|
|
336
|
+
@handleNotSupported
|
|
337
|
+
def getSupplyPressure(self) -> float:
|
|
338
|
+
# Returns heating supply pressure
|
|
339
|
+
return float(self.service.getProperty("heating.sensors.pressure.supply")["properties"]["value"]["value"])
|
|
340
|
+
|
|
331
341
|
|
|
332
342
|
class FuelCellBurner(HeatingDeviceWithComponent):
|
|
333
343
|
|
|
@@ -8,6 +8,10 @@ class RadiatorActuator(Device):
|
|
|
8
8
|
def getSerial(self):
|
|
9
9
|
return self.service.getProperty("device.name")["deviceId"]
|
|
10
10
|
|
|
11
|
+
@handleNotSupported
|
|
12
|
+
def getBatteryLevel(self) -> int:
|
|
13
|
+
return int(self.service.getProperty("device.power.battery")["properties"]["level"]["value"])
|
|
14
|
+
|
|
11
15
|
@handleNotSupported
|
|
12
16
|
def getTemperature(self):
|
|
13
17
|
return self.service.getProperty("device.sensors.temperature")["properties"]["value"]["value"]
|
|
@@ -8,6 +8,10 @@ class RoomSensor(Device):
|
|
|
8
8
|
def getSerial(self):
|
|
9
9
|
return self.service.getProperty("device.sensors.temperature")["deviceId"]
|
|
10
10
|
|
|
11
|
+
@handleNotSupported
|
|
12
|
+
def getBatteryLevel(self) -> int:
|
|
13
|
+
return int(self.service.getProperty("device.power.battery")["properties"]["level"]["value"])
|
|
14
|
+
|
|
11
15
|
@handleNotSupported
|
|
12
16
|
def getTemperature(self):
|
|
13
17
|
return self.service.getProperty("device.sensors.temperature")["properties"]["value"]["value"]
|
|
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
|