Repository: somm15/PyViCare

Issue:
Outlet temperature
Hello,
I've just noticed that we are missing the dhw outlet temperature.
It would be something like:
`return self.service.getProperty("heating.dhw.sensors.temperature.outlet")["properties"]["value"]["value"]`

PS. Thank you for your great work!

Discussion:

Patch:
diff --git a/PyViCare/PyViCareDevice.py b/PyViCare/PyViCareDevice.py
index c24a412..db3414f 100644
--- a/PyViCare/PyViCareDevice.py
+++ b/PyViCare/PyViCareDevice.py
@@ -210,6 +210,10 @@ class Device:
     def getDomesticHotWaterStorageTemperature(self):
         return self.service.getProperty("heating.dhw.sensors.temperature.hotWaterStorage")["properties"]["value"]["value"]
 
+    @handleNotSupported
+    def getDomesticHotWaterOutletTemperature(self):
+        return self.service.getProperty("heating.dhw.sensors.temperature.outlet")["properties"]["value"]["value"]
+
     @handleNotSupported
     def getDomesticHotWaterPumpActive(self):
         status =  self.service.getProperty("heating.dhw.pumps.primary")["properties"]["status"]["value"]


Test patch:
diff --git a/tests/test_Vitodens200W.py b/tests/test_Vitodens200W.py
index ec46fd0..1065406 100644
--- a/tests/test_Vitodens200W.py
+++ b/tests/test_Vitodens200W.py
@@ -38,3 +38,6 @@ class Vitodens200W(unittest.TestCase):
 
     def test_getDomesticHotWaterCirculationPumpActive(self):
         self.assertEqual(self.device.getDomesticHotWaterCirculationPumpActive(), True)
+
+    def test_getDomesticHotWaterOutletTemperature(self):
+        self.assertEqual(self.device.getDomesticHotWaterOutletTemperature(), 58)