From 61a4c8aa2b6003eacad876bd2ffb23f568cd150b Mon Sep 17 00:00:00 2001 From: brefra Date: Sun, 20 Dec 2020 11:00:01 +0100 Subject: [PATCH 01/23] Bump python tests to 3.9.1 --- .github/workflows/verify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 0e1cfa461..214610bc9 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -5,7 +5,7 @@ name: Latest commit env: CACHE_VERSION: 1 - DEFAULT_PYTHON: 3.9 + DEFAULT_PYTHON: 3.9.1 PRE_COMMIT_HOME: ~/.cache/pre-commit on: From c7849cbf33e1ea7414b7e0274bd02e6806d03e8e Mon Sep 17 00:00:00 2001 From: brefra Date: Sun, 20 Dec 2020 11:09:15 +0100 Subject: [PATCH 02/23] Bump cache and revert DEFAULT_PYTHON --- .github/workflows/verify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 214610bc9..3126b7bba 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -4,8 +4,8 @@ name: Latest commit env: - CACHE_VERSION: 1 - DEFAULT_PYTHON: 3.9.1 + CACHE_VERSION: 2 + DEFAULT_PYTHON: 3.9 PRE_COMMIT_HOME: ~/.cache/pre-commit on: From 88c21d13dd0c828e994bb014b27eec2804bf3d6f Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 17:40:13 +0100 Subject: [PATCH 03/23] Copy updates from fixtures_local branch --- plugwise/smile.py | 56 ++++++++++++++++++++++----------------------- tests/test_smile.py | 46 +++++++++++-------------------------- 2 files changed, 41 insertions(+), 61 deletions(-) diff --git a/plugwise/smile.py b/plugwise/smile.py index de36caf4f..9c376c87e 100644 --- a/plugwise/smile.py +++ b/plugwise/smile.py @@ -1,21 +1,11 @@ """Plugwise Home Assistant module.""" - import asyncio import datetime as dt import logging import aiohttp import async_timeout -from dateutil.parser import parse -from defusedxml import ElementTree as etree - -# Time related -import pytz - -# Version detection -import semver - -from plugwise.constants import ( +from .constants import ( APPLIANCES, ATTR_NAME, ATTR_TYPE, @@ -31,13 +21,16 @@ LOCATIONS, MODULES, NOTIFICATIONS, + POWER_WATT, RULES, SMILES, STATUS, SWITCH_GROUP_TYPES, SYSTEM, ) -from plugwise.exceptions import ( +from dateutil.parser import parse +from defusedxml import ElementTree as etree +from .exceptions import ( ConnectionFailedError, DeviceSetupError, DeviceTimeoutError, @@ -47,7 +40,13 @@ UnsupportedDeviceError, XMLDataMissingError, ) -from plugwise.util import ( + +# Time related +import pytz + +# Version detection +import semver +from .util import ( determine_selected, escape_illegal_xml_characters, format_measure, @@ -87,8 +86,6 @@ async def _create_session() -> aiohttp.ClientSession: self.websession = websession self._auth = aiohttp.BasicAuth(username, password=password) - # Work-around for Stretchv2-aiohttp-deflate-error, can be removed for aiohttp v3.7 - self._headers = {"Accept-Encoding": "gzip"} self._timeout = timeout self._endpoint = f"http://{host}:{str(port)}" @@ -232,10 +229,7 @@ async def request( try: with async_timeout.timeout(self._timeout): if method == "get": - # Work-around, see above, can be removed for aiohttp v3.7: - resp = await self.websession.get( - url, auth=self._auth, headers=self._headers - ) + resp = await self.websession.get(url, auth=self._auth) if method == "put": resp = await self.websession.put( url, data=data, headers=headers, auth=self._auth @@ -905,25 +899,31 @@ def get_power_data_from_location(self, loc_id): key_string = f"{measurement}_{peak}_{log_found}" net_string = f"net_electricity_{log_found}" val = loc_logs.find(locator).text + if attrs[ATTR_UNIT_OF_MEASUREMENT] == POWER_WATT: + f_val = int(round(float(val))) + else: + f_val = format_measure(val, attrs[ATTR_UNIT_OF_MEASUREMENT]) if all( item in key_string for item in ["electricity", "cumulative"] ): f_val = format_measure(val, ENERGY_KILO_WATT_HOUR) - else: - f_val = format_measure(val, attrs[ATTR_UNIT_OF_MEASUREMENT]) - if "gas" in measurement: - key_string = f"{measurement}_{log_found}" - f_val = float(f"{round(float(val), 3):.3f}") - # Energy differential if "electricity" in measurement: - f_val = float(f"{round(float(val), 1):.1f}") diff = 1 if "produced" in measurement: diff = -1 if net_string not in direct_data: - direct_data[net_string] = float() - direct_data[net_string] += float(f_val * diff) + direct_data[net_string] = 0 + if f_val != 0: + if isinstance(f_val, int): + direct_data[net_string] += int( + round(float(f_val * diff)) + ) + else: + direct_data[net_string] += float(f_val * diff) + + if "gas" in measurement: + key_string = f"{measurement}_{log_found}" direct_data[key_string] = f_val diff --git a/tests/test_smile.py b/tests/test_smile.py index 49549ae1a..09af50a42 100644 --- a/tests/test_smile.py +++ b/tests/test_smile.py @@ -330,27 +330,7 @@ async def device_test(self, smile=Smile, testdata=None): measure_key, measure_assert ), ) - if isinstance(data[measure_key], float): - if all( - item in measure_key - for item in ["electricity", "cumulative"] - ): - measure = float( - "{:.1f}".format( - round(float(data[measure_key]) / 1000, 1) - ) - ) - elif float(data[measure_key]) < 10: - measure = float( - "{:.2f}".format(round(float(data[measure_key]), 2)) - ) - else: - measure = float( - "{:.1f}".format(round(float(data[measure_key]), 1)) - ) - assert measure == measure_assert - else: - assert data[measure_key] == measure_assert + assert data[measure_key] == measure_assert @pytest.mark.asyncio async def tinker_relay(self, smile, dev_ids=None, members=None, unhappy=False): @@ -571,9 +551,9 @@ async def test_connect_smile_p1_v2(self): "938696c4bcdb4b8a9a595cb38ed43913": { "electricity_consumed_peak_point": 458.0, "net_electricity_point": 458.0, - "gas_consumed_cumulative": 584.4, - "electricity_produced_peak_cumulative": 1296.1, - "electricity_produced_off_peak_cumulative": 482.6, + "gas_consumed_cumulative": 584.433, + "electricity_produced_peak_cumulative": 1296.136, + "electricity_produced_off_peak_cumulative": 482.598, } } @@ -608,7 +588,7 @@ async def test_connect_smile_p1_v2_2(self): "199aa40f126840f392983d171374ab0b": { "electricity_consumed_peak_point": 368.0, "net_electricity_point": 368.0, - "gas_consumed_cumulative": 2638.0, + "gas_consumed_cumulative": 2637.993, "electricity_produced_peak_cumulative": 0.0, } } @@ -1146,7 +1126,7 @@ async def test_connect_p1v3(self): "ba4de7613517478da82dd9b6abea36af": { "electricity_consumed_peak_point": 650.0, "electricity_produced_peak_cumulative": 0.0, - "electricity_consumed_off_peak_cumulative": 10263.2, + "electricity_consumed_off_peak_cumulative": 10263.159, } } @@ -1178,7 +1158,7 @@ async def test_connect_p1v3solarfake(self): "ba4de7613517478da82dd9b6abea36af": { "electricity_consumed_peak_point": 644.0, "electricity_produced_peak_cumulative": 20.0, - "electricity_consumed_off_peak_cumulative": 10263.2, + "electricity_consumed_off_peak_cumulative": 10263.159, "net_electricity_point": 244, } } @@ -1211,11 +1191,11 @@ async def test_connect_p1v3_full_option(self): # Gateway / P1 itself "e950c7d5e1ee407a858e2a8b5016c8b3": { "electricity_consumed_peak_point": 0.0, - "electricity_produced_peak_cumulative": 396.6, - "electricity_consumed_off_peak_cumulative": 551.1, - "electricity_produced_peak_point": 2761.0, - "net_electricity_point": -2761.0, - "gas_consumed_cumulative": 584.9, + "electricity_produced_peak_cumulative": 396.559, + "electricity_consumed_off_peak_cumulative": 551.09, + "electricity_produced_peak_point": 2761, + "net_electricity_point": -2761, + "gas_consumed_cumulative": 584.85, } } @@ -1432,4 +1412,4 @@ class ConnectError(PlugwiseTestError): """Raised when connectivity test fails.""" class UnexpectedError(PlugwiseTestError): - """Raised when something went against logic.""" + """Raised when something went against logic.""" \ No newline at end of file From 33d8c3b1bea19f9d95c0dae7cd643ba015bab06c Mon Sep 17 00:00:00 2001 From: autoblack Date: Sun, 20 Dec 2020 17:14:24 +0000 Subject: [PATCH 04/23] fixup: formatting-issues Python code reformatted using Black --- tests/test_smile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_smile.py b/tests/test_smile.py index 09af50a42..53d72ce50 100644 --- a/tests/test_smile.py +++ b/tests/test_smile.py @@ -1412,4 +1412,4 @@ class ConnectError(PlugwiseTestError): """Raised when connectivity test fails.""" class UnexpectedError(PlugwiseTestError): - """Raised when something went against logic.""" \ No newline at end of file + """Raised when something went against logic.""" From f1fd55b396a849f42555a98a36cae1bd8d7f5338 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 18:18:41 +0100 Subject: [PATCH 05/23] Fix isort errors --- plugwise/smile.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/plugwise/smile.py b/plugwise/smile.py index 9c376c87e..f67eac925 100644 --- a/plugwise/smile.py +++ b/plugwise/smile.py @@ -5,6 +5,15 @@ import aiohttp import async_timeout +from dateutil.parser import parse +from defusedxml import ElementTree as etree + +# Time related +import pytz + +# Version detection +import semver + from .constants import ( APPLIANCES, ATTR_NAME, @@ -28,8 +37,6 @@ SWITCH_GROUP_TYPES, SYSTEM, ) -from dateutil.parser import parse -from defusedxml import ElementTree as etree from .exceptions import ( ConnectionFailedError, DeviceSetupError, @@ -40,12 +47,6 @@ UnsupportedDeviceError, XMLDataMissingError, ) - -# Time related -import pytz - -# Version detection -import semver from .util import ( determine_selected, escape_illegal_xml_characters, From 0efc1872ba8547d8f7b4ccd536bc12c337f63483 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 20:01:22 +0100 Subject: [PATCH 06/23] Copy update.py from fixtures_local --- plugwise/util.py | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/plugwise/util.py b/plugwise/util.py index 5c648ac3d..67311b154 100644 --- a/plugwise/util.py +++ b/plugwise/util.py @@ -10,13 +10,15 @@ import crcmod -from plugwise.constants import ( +from .constants import ( ENERGY_KILO_WATT_HOUR, HW_MODELS, LOGADDR_OFFSET, PERCENTAGE, PLUGWISE_EPOCH, + POWER_WATT, UTF8_DECODE, + VOLUME_CUBIC_METERS, ) crc_fun = crcmod.mkCrcFun(0x11021, rev=False, initCrc=0x0000, xorOut=0x0000) @@ -86,20 +88,24 @@ def escape_illegal_xml_characters(xmldata): def format_measure(measure, unit): """Format measure to correct type.""" - if unit == PERCENTAGE and float(measure) > 0: - measure = int(float(measure) * 100) - if unit == ENERGY_KILO_WATT_HOUR: - measure = float(measure) / 1000 + SPECIAL_FORMAT = [ENERGY_KILO_WATT_HOUR, VOLUME_CUBIC_METERS] try: measure = int(measure) except ValueError: + if unit == PERCENTAGE and float(measure) > 0: + measure = int(float(measure) * 100) + if unit == ENERGY_KILO_WATT_HOUR: + measure = float(measure) / 1000 try: - if float(measure) < 10: - measure = float(f"{round(float(measure), 2):.2f}") - elif float(measure) >= 10 and float(measure) < 100: - measure = float(f"{round(float(measure), 1):.1f}") - elif float(measure) >= 100: - measure = int(round(float(measure))) + if unit in SPECIAL_FORMAT: + measure = float(f"{round(float(measure), 3):.3f}") + else: + if abs(float(measure)) < 10: + measure = float(f"{round(float(measure), 2):.2f}") + elif abs(float(measure)) >= 10 and abs(float(measure)) < 100: + measure = float(f"{round(float(measure), 1):.1f}") + elif abs(float(measure)) >= 100: + measure = int(round(float(measure))) except ValueError: if measure == "on": measure = True @@ -329,4 +335,4 @@ def serialize(self): def deserialize(self, val): Int.deserialize(self, val) - self.value = (self.value - LOGADDR_OFFSET) // 32 + self.value = (self.value - LOGADDR_OFFSET) // 32 \ No newline at end of file From 92454af95531d83c0dfcf4f2d54daa0390a50720 Mon Sep 17 00:00:00 2001 From: autoblack Date: Sun, 20 Dec 2020 19:02:32 +0000 Subject: [PATCH 07/23] fixup: formatting-issues Python code reformatted using Black --- plugwise/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/util.py b/plugwise/util.py index 67311b154..81b70e795 100644 --- a/plugwise/util.py +++ b/plugwise/util.py @@ -335,4 +335,4 @@ def serialize(self): def deserialize(self, val): Int.deserialize(self, val) - self.value = (self.value - LOGADDR_OFFSET) // 32 \ No newline at end of file + self.value = (self.value - LOGADDR_OFFSET) // 32 From d4c987fd3bf303b1911d9c32bcb1b4a5132ffb0f Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 20:07:13 +0100 Subject: [PATCH 08/23] Bump version to v0.8.5a1 --- plugwise/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/__init__.py b/plugwise/__init__.py index be54e90c3..5b07edab7 100644 --- a/plugwise/__init__.py +++ b/plugwise/__init__.py @@ -1,6 +1,6 @@ """Plugwise module.""" -__version__ = "0.8.3" +__version__ = "0.8.5a1" from plugwise.smile import Smile from plugwise.stick import stick From 4851d67a0989be2c57291a43af7b43a70bd6680a Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 20:26:15 +0100 Subject: [PATCH 09/23] Directly return the percentage -value --- plugwise/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugwise/util.py b/plugwise/util.py index 81b70e795..607e6a1bc 100644 --- a/plugwise/util.py +++ b/plugwise/util.py @@ -93,7 +93,8 @@ def format_measure(measure, unit): measure = int(measure) except ValueError: if unit == PERCENTAGE and float(measure) > 0: - measure = int(float(measure) * 100) + return = int(float(measure) * 100) + if unit == ENERGY_KILO_WATT_HOUR: measure = float(measure) / 1000 try: From 352e756ac946e8e17a780ad514fb99bcb105e8f3 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 20:29:30 +0100 Subject: [PATCH 10/23] Fix typo --- plugwise/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/util.py b/plugwise/util.py index 607e6a1bc..4dbeedeb8 100644 --- a/plugwise/util.py +++ b/plugwise/util.py @@ -93,7 +93,7 @@ def format_measure(measure, unit): measure = int(measure) except ValueError: if unit == PERCENTAGE and float(measure) > 0: - return = int(float(measure) * 100) + return int(float(measure) * 100) if unit == ENERGY_KILO_WATT_HOUR: measure = float(measure) / 1000 From 843bb7ece41025edc8d9cfccaa9fcfc2663448d2 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sun, 20 Dec 2020 20:33:40 +0100 Subject: [PATCH 11/23] Bump alpha-version --- plugwise/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/__init__.py b/plugwise/__init__.py index 5b07edab7..1d8d36607 100644 --- a/plugwise/__init__.py +++ b/plugwise/__init__.py @@ -1,6 +1,6 @@ """Plugwise module.""" -__version__ = "0.8.5a1" +__version__ = "0.8.5a2" from plugwise.smile import Smile from plugwise.stick import stick From 545121b604ccd4879a58bc0c2454c374197f30b3 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Mon, 21 Dec 2020 20:10:48 +0100 Subject: [PATCH 12/23] Test: fix CodeFactor issues --- tests/test_smile.py | 59 ++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/tests/test_smile.py b/tests/test_smile.py index 53d72ce50..953df9301 100644 --- a/tests/test_smile.py +++ b/tests/test_smile.py @@ -392,7 +392,7 @@ async def tinker_thermostat(self, smile, loc_id, good_schemas=None, unhappy=Fals _LOGGER.info(" - failed unexpectedly") raise self.UnexpectedError - if good_schemas is not []: + if good_schemas != []: good_schemas.append("!VeryBogusSchemaNameThatNobodyEverUsesOrShouldUse") for new_schema in good_schemas: assert_state = True @@ -829,35 +829,34 @@ async def test_connect_anna_without_boiler_fw4(self): # Actual test for directory 'Adam' # living room floor radiator valve and separate zone thermostat # an three rooms with conventional radiators - """ - @pytest.mark.asyncio - async def test_connect_adam(self): - testdata = { - "95395fb15c814a1f8bba88363e4a5833": { "temperature": 19.8, 'active_preset': 'home',}, - "450d49ef2e8942f78c1242cdd8dfecd0": { "temperature": 20.18, 'battery': 0.77, 'selected_schedule': 'Kira' }, - "bc9e18756ad04c3f9f35298cbe537c8e": { "temperature": 20.63, 'thermostat': 20.0 }, - } - - self.smile_setup = 'adam_living_floor_plus_3_rooms' - server, smile, client = await self.connect_wrapper() - assert smile.smile_type == "thermostat" - assert smile.smile_version[0] == "2.3.35" - assert not smile._smile_legacy - await self.device_test(smile, testdata) - await self.tinker_thermostat( - smile, "95395fb15c814a1f8bba88363e4a5833", good_schemas=["Living room"] - ) - await smile.close_connection() - await self.disconnect(server, client) - - server, smile, client = await self.connect_wrapper(put_timeout=True) - await self.tinker_thermostat( - smile, "95395fb15c814a1f8bba88363e4a5833", good_schemas=["Living room"], - unhappy=True, - ) - await smile.close_connection() - await self.disconnect(server, client) - """ + + #@pytest.mark.asyncio + #async def test_connect_adam(self): + # testdata = { + # "95395fb15c814a1f8bba88363e4a5833": { "temperature": 19.8, 'active_preset': 'home',}, + # "450d49ef2e8942f78c1242cdd8dfecd0": { "temperature": 20.18, 'battery': 0.77, 'selected_schedule': 'Kira' }, + # "bc9e18756ad04c3f9f35298cbe537c8e": { "temperature": 20.63, 'thermostat': 20.0 }, + # } + + # self.smile_setup = 'adam_living_floor_plus_3_rooms' + # server, smile, client = await self.connect_wrapper() + # assert smile.smile_type == "thermostat" + # assert smile.smile_version[0] == "2.3.35" + # assert not smile._smile_legacy + # await self.device_test(smile, testdata) + # await self.tinker_thermostat( + # smile, "95395fb15c814a1f8bba88363e4a5833", good_schemas=["Living room"] + # ) + # await smile.close_connection() + # await self.disconnect(server, client) + + # server, smile, client = await self.connect_wrapper(put_timeout=True) + # await self.tinker_thermostat( + # smile, "95395fb15c814a1f8bba88363e4a5833", good_schemas=["Living room"], + # unhappy=True, + # ) + # await smile.close_connection() + # await self.disconnect(server, client) @pytest.mark.asyncio async def test_connect_adam_plus_anna(self): From 2df592fd2fc8a59aa7822058bdd284b9262bb75a Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Mon, 21 Dec 2020 20:11:24 +0100 Subject: [PATCH 13/23] Bump to release-version --- plugwise/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/__init__.py b/plugwise/__init__.py index 1d8d36607..1ebf3c136 100644 --- a/plugwise/__init__.py +++ b/plugwise/__init__.py @@ -1,6 +1,6 @@ """Plugwise module.""" -__version__ = "0.8.5a2" +__version__ = "0.8.5" from plugwise.smile import Smile from plugwise.stick import stick From ebe4ce30eb5d148c04787cd1331747b1763d6cc9 Mon Sep 17 00:00:00 2001 From: autoblack Date: Mon, 21 Dec 2020 19:12:23 +0000 Subject: [PATCH 14/23] fixup: formatting-issues Python code reformatted using Black --- tests/test_smile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_smile.py b/tests/test_smile.py index 953df9301..ac5c36814 100644 --- a/tests/test_smile.py +++ b/tests/test_smile.py @@ -829,9 +829,9 @@ async def test_connect_anna_without_boiler_fw4(self): # Actual test for directory 'Adam' # living room floor radiator valve and separate zone thermostat # an three rooms with conventional radiators - - #@pytest.mark.asyncio - #async def test_connect_adam(self): + + # @pytest.mark.asyncio + # async def test_connect_adam(self): # testdata = { # "95395fb15c814a1f8bba88363e4a5833": { "temperature": 19.8, 'active_preset': 'home',}, # "450d49ef2e8942f78c1242cdd8dfecd0": { "temperature": 20.18, 'battery': 0.77, 'selected_schedule': 'Kira' }, From 7cdd3b4d4dfbce34b2ad3422ab08191cfd8f6017 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Thu, 24 Dec 2020 12:18:20 +0100 Subject: [PATCH 15/23] Remove commented-out testcase --- tests/test_smile.py | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/tests/test_smile.py b/tests/test_smile.py index ac5c36814..62e225984 100644 --- a/tests/test_smile.py +++ b/tests/test_smile.py @@ -826,38 +826,6 @@ async def test_connect_anna_without_boiler_fw4(self): # TODO: This device setup needs work - doesn't seem to work straightforard # currently breaks on setting thermostat setpoint - # Actual test for directory 'Adam' - # living room floor radiator valve and separate zone thermostat - # an three rooms with conventional radiators - - # @pytest.mark.asyncio - # async def test_connect_adam(self): - # testdata = { - # "95395fb15c814a1f8bba88363e4a5833": { "temperature": 19.8, 'active_preset': 'home',}, - # "450d49ef2e8942f78c1242cdd8dfecd0": { "temperature": 20.18, 'battery': 0.77, 'selected_schedule': 'Kira' }, - # "bc9e18756ad04c3f9f35298cbe537c8e": { "temperature": 20.63, 'thermostat': 20.0 }, - # } - - # self.smile_setup = 'adam_living_floor_plus_3_rooms' - # server, smile, client = await self.connect_wrapper() - # assert smile.smile_type == "thermostat" - # assert smile.smile_version[0] == "2.3.35" - # assert not smile._smile_legacy - # await self.device_test(smile, testdata) - # await self.tinker_thermostat( - # smile, "95395fb15c814a1f8bba88363e4a5833", good_schemas=["Living room"] - # ) - # await smile.close_connection() - # await self.disconnect(server, client) - - # server, smile, client = await self.connect_wrapper(put_timeout=True) - # await self.tinker_thermostat( - # smile, "95395fb15c814a1f8bba88363e4a5833", good_schemas=["Living room"], - # unhappy=True, - # ) - # await smile.close_connection() - # await self.disconnect(server, client) - @pytest.mark.asyncio async def test_connect_adam_plus_anna(self): """Test outdated information for Adam with Anna setup.""" From d0c69ad7ecef79708706d2b6225e23b950f67552 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Thu, 24 Dec 2020 12:25:46 +0100 Subject: [PATCH 16/23] Delete set of userdata --- .../core.appliances.xml | 753 ------- .../core.direct_objects.xml | 984 ---------- .../core.domain_objects.xml | 1736 ----------------- .../core.locations.xml | 101 - .../core.modules.xml | 261 --- 5 files changed, 3835 deletions(-) delete mode 100644 userdata/adam_living_floor_plus_3_rooms/core.appliances.xml delete mode 100644 userdata/adam_living_floor_plus_3_rooms/core.direct_objects.xml delete mode 100644 userdata/adam_living_floor_plus_3_rooms/core.domain_objects.xml delete mode 100644 userdata/adam_living_floor_plus_3_rooms/core.locations.xml delete mode 100644 userdata/adam_living_floor_plus_3_rooms/core.modules.xml diff --git a/userdata/adam_living_floor_plus_3_rooms/core.appliances.xml b/userdata/adam_living_floor_plus_3_rooms/core.appliances.xml deleted file mode 100644 index cdd1a1ccf..000000000 --- a/userdata/adam_living_floor_plus_3_rooms/core.appliances.xml +++ /dev/null @@ -1,753 +0,0 @@ - - - - Zone Thermostat 000D6F000C860079 - A zone thermostat regulates the temperature in a heating zone (generally a room). - zone_thermostat - 2019-08-23T22:49:31.782+02:00 - 2019-12-01T17:21:25.954+01:00 - - - - - - 2019-12-01T17:21:25.951+01:00 - temperature - C - 2019-12-01T17:21:25.951+01:00 - - 19.80 - - - - - 2019-12-01T13:19:27.404+01:00 - battery - - 2019-11-28T01:46:30.962+01:00 - - 0.84 - - - - - 2019-11-17T18:19:43.382+01:00 - temperature_offset - C - 2019-10-16T21:27:35.226+02:00 - - 0.00 - - - - - 2019-12-01T09:00:05.993+01:00 - thermostat - C - 2019-12-01T09:00:05.942+01:00 - - 20.00 - - - - - - - - 2019-11-17T18:19:43.382+01:00 - temperature_offset - 0 - - - 2019-12-01T09:00:05.993+01:00 - thermostat - 20 - 0 - 99.9 - 0.01 - - - - - - - Thermostatic Radiator Valve 000D6F000B213F30 - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-08-24T14:38:18.617+02:00 - 2019-12-01T17:20:23.121+01:00 - - - - - - 2019-12-01T17:20:23.114+01:00 - temperature - C - 2019-12-01T17:20:23.114+01:00 - - 20.93 - - - - - 2019-12-01T17:20:23.114+01:00 - uncorrected_temperature - C - 2019-12-01T17:20:23.114+01:00 - - 20.93 - - - - - 2019-12-01T17:13:37.272+01:00 - temperature_difference - C - 2019-12-01T17:13:37.272+01:00 - - 0.20 - - - - - 2019-11-12T00:48:31.118+01:00 - thermostat - C - 2019-11-12T00:48:31.118+01:00 - - 21.00 - - - - - 2019-10-07T11:03:12.009+02:00 - temperature_offset - C - 2019-08-24T14:54:21.268+02:00 - - 0.00 - - - - - 2019-12-01T17:13:07.556+01:00 - valve_position - - 2019-12-01T16:15:42.945+01:00 - - 0.00 - - - - - 2019-12-01T08:36:20.120+01:00 - battery - - 2019-12-01T08:36:20.120+01:00 - - 0.48 - - - - - - - - 2019-10-07T11:03:12.009+02:00 - temperature_offset - 0 - - - 2019-11-12T00:48:31.119+01:00 - thermostat - 21 - 0 - 99.99 - 0.01 - - - - - - - Thermostatic Radiator Valve 000D6F000B2142D0 - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-08-24T14:24:28.256+02:00 - 2019-12-01T17:18:49.650+01:00 - - - - - - 2019-12-01T17:15:49.812+01:00 - temperature - C - 2019-12-01T17:15:49.812+01:00 - - 20.18 - - - - - 2019-12-01T17:15:49.812+01:00 - uncorrected_temperature - C - 2019-12-01T17:15:49.812+01:00 - - 20.18 - - - - - 2019-12-01T17:18:49.646+01:00 - temperature_difference - C - 2019-12-01T17:18:49.646+01:00 - - 0.60 - - - - - 2019-10-05T01:43:16.560+02:00 - temperature_offset - C - 2019-08-26T19:48:00.676+02:00 - - 0.00 - - - - - 2019-12-01T17:13:40.546+01:00 - valve_position - - 2019-12-01T16:15:43.877+01:00 - - 1.00 - - - - - 2019-12-01T11:27:12.542+01:00 - battery - - 2019-12-01T11:27:12.542+01:00 - - 0.77 - - - - - 2019-11-29T16:00:58.414+01:00 - thermostat - C - 2019-11-29T16:00:58.414+01:00 - - 20.00 - - - - - - - - 2019-10-05T01:43:16.560+02:00 - temperature_offset - 0 - - - 2019-11-29T16:00:58.415+01:00 - thermostat - 20 - 0 - 99.99 - 0.01 - - - - - - - Thermostatic Radiator Valve 000D6F000C96A82F - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-08-24T12:57:33.457+02:00 - 2019-12-01T17:21:24.412+01:00 - - - - - - 2019-12-01T17:12:16.587+01:00 - valve_position - - 2019-12-01T13:16:04.846+01:00 - - 0.00 - - - - - 2019-12-01T17:09:00.085+01:00 - temperature - C - 2019-12-01T17:09:00.085+01:00 - - 20.63 - - - - - 2019-12-01T17:21:24.408+01:00 - temperature_difference - C - 2019-12-01T17:21:24.408+01:00 - - 0.10 - - - - - 2019-12-01T09:00:01.678+01:00 - thermostat - C - 2019-12-01T09:00:01.678+01:00 - - 20.00 - - - - - 2019-10-05T01:33:59.209+02:00 - temperature_offset - C - 2019-08-24T12:57:39.689+02:00 - - 0.00 - - - - - 2019-12-01T17:09:00.085+01:00 - uncorrected_temperature - C - 2019-12-01T17:09:00.085+01:00 - - 20.63 - - - - - - - - 2019-10-05T01:33:59.209+02:00 - temperature_offset - 0 - - - 2019-12-01T09:00:01.679+01:00 - thermostat - 20 - 0 - 99.99 - 0.01 - - - - - - - Thermostatic Radiator Valve 000D6F000B214828 - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-10-05T01:32:54.452+02:00 - 2019-12-01T17:15:46.020+01:00 - - - - - - 2019-12-01T11:00:21.013+01:00 - thermostat - C - 2019-12-01T11:00:21.013+01:00 - - 17.00 - - - - - 2019-12-01T17:15:46.016+01:00 - temperature_difference - C - 2019-12-01T17:15:46.016+01:00 - - 0.00 - - - - - 2019-12-01T17:07:39.209+01:00 - temperature - C - 2019-12-01T17:07:39.209+01:00 - - 19.13 - - - - - 2019-12-01T17:13:36.819+01:00 - valve_position - - 2019-12-01T10:01:27.447+01:00 - - 0.00 - - - - - 2019-10-05T01:48:31.471+02:00 - temperature_offset - C - 2019-10-05T01:40:20.138+02:00 - - 0.00 - - - - - 2019-12-01T17:07:39.209+01:00 - uncorrected_temperature - C - 2019-12-01T17:07:39.209+01:00 - - 19.13 - - - - - 2019-12-01T16:53:26.005+01:00 - battery - - 2019-11-26T17:39:21.072+01:00 - - 0.88 - - - - - - - - 2019-10-05T01:48:31.471+02:00 - temperature_offset - 0 - - - 2019-12-01T11:00:21.014+01:00 - thermostat - 17 - 0 - 99.99 - 0.01 - - - - - - - Gateway D40FB201C486 - Container for variables logged about the Gateway in general. - gateway - 2018-11-16T11:01:51.093+01:00 - 2019-10-05T01:30:42.439+02:00 - - - - - 2019-10-05T01:06:35.127+02:00 - link_quality - - 2019-10-05T01:01:34.864+02:00 - - 66 - - - - - 2019-10-05T01:30:48.063+02:00 - lan_state - - 2019-10-05T01:01:10.369+02:00 - - up - - - - - 2019-10-05T01:30:39.480+02:00 - wlan_ip_address - - 2019-10-05T01:22:18+02:00 - - 0.0.0.0 - - - - - 2019-10-05T01:30:42.422+02:00 - wlan_state - - 2019-10-05T01:30:42.422+02:00 - - down - - - - - 2019-10-05T01:06:35.127+02:00 - signal_strength - dBm - 2019-10-05T01:01:34.864+02:00 - - -44.00 - - - - - 2019-10-05T01:30:48.063+02:00 - lan_ip_address - - 2019-08-24T21:27:04+02:00 - - 127.0.0.1 - - - - - - - - Central heating boiler - - heater_central - 2019-08-23T16:01:45.503+02:00 - 2019-12-01T16:35:22.710+01:00 - - - - - 2019-12-01T16:15:46+01:00 - burner_efficiency - s - 2019-12-01T16:15:46+01:00 - - 4780 - - - - - 2019-10-05T01:09:39.631+02:00 - modulation_level - - 2019-10-05T01:09:39.631+02:00 - - 0.00 - - - - - 2019-12-01T14:00:00+01:00 - burner_efficiency - s - 2019-12-01T14:00:00+01:00 - PT1H - - 4758 - - - - - 2019-08-23T16:01:52.608+02:00 - heating_curve_high_temperature - C - 2019-08-23T16:01:52.608+02:00 - - 20.00 - - - - - - intended_central_heating_state - - - - - - 2019-12-01T16:35:22.691+01:00 - intended_boiler_temperature - C - 2019-12-01T16:35:22.691+01:00 - - 0.00 - - - - - 2019-08-23T16:01:50.724+02:00 - heating_curve_low_temperature - C - 2019-08-23T16:01:50.724+02:00 - - -10.00 - - - - - 2019-12-01T16:00:00+01:00 - boiler_temperature - C - 2019-12-05T01:00:00+01:00 - - 80.00 - - - - - 2019-08-24T14:59:03.941+02:00 - regulation_state - - 2019-08-24T14:59:03.941+02:00 - - on - - - - - - burner_operation_time - s - - PT1H - - - - 2019-12-01T16:35:22.707+01:00 - central_heating_state - - 2019-12-01T16:35:22.707+01:00 - - off - - - - - 2019-08-23T16:01:53.606+02:00 - heating_curve_high_setpoint - C - 2019-08-23T16:01:53.606+02:00 - - 80.00 - - - - - 2019-08-23T16:01:51.636+02:00 - heating_curve_low_setpoint - C - 2019-08-23T16:01:51.636+02:00 - - 80.00 - - - - - - - 2019-08-23T16:01:52.609+02:00 - heating_curve_high_temperature - 20 - 10 - 40 - 1 - - - - - 2019-08-23T16:01:50.725+02:00 - heating_curve_low_temperature - -10 - -30 - 10 - 1 - - - - - - 2019-08-24T14:59:03.941+02:00 - regulation_state - on - - - 2019-08-23T16:01:51.637+02:00 - heating_curve_low_setpoint - 80 - 10 - 90 - 1 - - - - - 2019-08-23T16:01:53.607+02:00 - heating_curve_high_setpoint - 80 - 20 - 90 - 1 - - - - - - - OpenThermGateway - An OpenTherm Gateway - open_therm_gateway - 2017-08-10T11:57:37.012+02:00 - 2019-08-05T14:16:28.504+02:00 - - - - - 2019-10-05T01:30:50.083+02:00 - open_therm_power_mode - - 2019-08-05T14:16:28.485+02:00 - - 0 - - - - - 2019-10-05T01:30:45.187+02:00 - override_mode - - 2018-11-16T11:01:47.010+01:00 - - on - - - - - - - - diff --git a/userdata/adam_living_floor_plus_3_rooms/core.direct_objects.xml b/userdata/adam_living_floor_plus_3_rooms/core.direct_objects.xml deleted file mode 100644 index c5f7a9b57..000000000 --- a/userdata/adam_living_floor_plus_3_rooms/core.direct_objects.xml +++ /dev/null @@ -1,984 +0,0 @@ - - - - Zone Thermostat 000D6F000C860079 - A zone thermostat regulates the temperature in a heating zone (generally a room). - zone_thermostat - 2019-08-23T22:49:31.782+02:00 - 2020-01-11T19:35:56.043+01:00 - - - - - - 2020-01-11T19:35:56.038+01:00 - temperature - C - 2020-01-11T19:35:56.038+01:00 - - 19.70 - - - - - 2020-01-11T19:05:57.836+01:00 - battery - - 2020-01-10T19:43:03.367+01:00 - - 0.72 - - - - - 2020-01-10T19:43:07.100+01:00 - temperature_offset - C - 2019-10-16T21:27:35.226+02:00 - - 0.00 - - - - - 2020-01-11T09:00:05.317+01:00 - thermostat - C - 2020-01-11T09:00:05.274+01:00 - - 20.00 - - - - - - - - 2020-01-10T19:43:07.100+01:00 - temperature_offset - 0 - - - 2020-01-11T09:00:05.317+01:00 - thermostat - 20 - 0 - 99.9 - 0.01 - - - - - - - Living room - - livingroom - 2019-08-23T22:48:59.648+02:00 - 2020-01-11T19:35:56.055+01:00 - - home - - - - - - - - 2020-01-11T09:00:05.274+01:00 - thermostat - C - 2019-10-04T10:41:42.525+02:00 - - 20.00 - - - - 2020-01-11T19:35:56.038+01:00 - temperature - C - 2019-09-27T22:39:08.008+02:00 - - 19.70 - - - - - - 2020-01-11T09:00:00.580+01:00 - thermostat - 20 - 0 - 99.99 - 0.01 - - - - - - Bedroom - - bedroom - 2019-08-23T22:48:43.914+02:00 - 2020-01-11T19:40:42.867+01:00 - - home - - - - - - - 2020-01-10T16:00:00.631+01:00 - thermostat - C - 2019-08-24T14:39:28.195+02:00 - - 20.00 - - - - 2020-01-11T19:40:42.840+01:00 - temperature - C - 2019-09-26T17:52:36.221+02:00 - - 19.41 - - - - - - 2020-01-10T16:00:00.632+01:00 - thermostat - 20 - 0 - 99.99 - 0.01 - - - - - - Thermostatic Radiator Valve 000D6F000B214828 - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-10-05T01:32:54.452+02:00 - 2020-01-11T19:37:13.723+01:00 - - - - - - 2020-01-11T11:00:09.750+01:00 - thermostat - C - 2020-01-11T11:00:09.750+01:00 - - 17.00 - - - - - 2020-01-11T19:31:45.925+01:00 - temperature_difference - C - 2020-01-11T19:02:57.761+01:00 - - 0.00 - - - - - 2020-01-11T19:37:13.718+01:00 - temperature - C - 2020-01-11T19:37:13.718+01:00 - - 19.31 - - - - - 2020-01-11T19:24:23.824+01:00 - valve_position - - 2020-01-11T11:00:19.739+01:00 - - 0.00 - - - - - 2019-10-05T01:48:31.471+02:00 - temperature_offset - C - 2019-10-05T01:40:20.138+02:00 - - 0.00 - - - - - 2020-01-11T19:37:13.719+01:00 - uncorrected_temperature - C - 2020-01-11T19:08:25.561+01:00 - - 19.31 - - - - - 2020-01-11T10:15:11.739+01:00 - battery - - 2020-01-08T10:44:50.515+01:00 - - 0.80 - - - - - - - - 2019-10-05T01:48:31.471+02:00 - temperature_offset - 0 - - - 2020-01-11T11:00:09.750+01:00 - thermostat - 17 - 0 - 99.99 - 0.01 - - - - - - - Home - - building - 2018-11-16T11:01:43.288+01:00 - 2020-01-11T19:38:01.935+01:00 - - home - - - - - 2020-01-11T19:38:00+01:00 - outdoor_temperature - C - 2020-01-11T19:38:00+01:00 - - 7.44 - - - - - 2020-01-11T19:38:00+01:00 - wind_vector - m_s - 2020-01-11T19:38:00+01:00 - - (11.80,0.00) - - - - - 2020-01-11T19:38:00+01:00 - solar_irradiance - W_m2 - 2020-01-11T19:38:00+01:00 - - 0.00 - - - - - 2020-01-11T19:38:00+01:00 - humidity - RH - 2020-01-11T19:38:00+01:00 - - 81.00 - - - - - - - - Thermostatic Radiator Valve 000D6F000B213F30 - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-08-24T14:38:18.617+02:00 - 2020-01-11T19:46:25.192+01:00 - - - - - - 2020-01-11T19:46:25.151+01:00 - temperature - C - 2020-01-11T19:46:25.151+01:00 - - 17.43 - - - - - 2020-01-11T19:46:25.151+01:00 - uncorrected_temperature - C - 2020-01-11T19:46:25.151+01:00 - - 19.76 - - - - - 2020-01-11T19:46:25.188+01:00 - temperature_difference - C - 2020-01-11T19:46:25.188+01:00 - - 3.30 - - - - - 2020-01-07T18:28:19.656+01:00 - thermostat - C - 2020-01-07T18:28:19.656+01:00 - - 18.00 - - - - - 2019-10-07T11:03:12.009+02:00 - temperature_offset - C - 2019-08-24T14:54:21.268+02:00 - - 0.00 - - - - - 2020-01-11T19:35:17.473+01:00 - valve_position - - 2020-01-11T19:35:17.473+01:00 - - 1.00 - - - - - 2020-01-11T18:28:37.900+01:00 - battery - - 2020-01-07T18:25:57.269+01:00 - - 1.00 - - - - - - - - 2019-10-07T11:03:12.009+02:00 - temperature_offset - 0 - - - 2020-01-07T18:28:19.657+01:00 - thermostat - 18 - 0 - 99.99 - 0.01 - - - - - - - Bedroom M - - bedroom - 2019-08-23T22:50:21.100+02:00 - 2020-01-11T19:46:25.179+01:00 - - home - - - - - - - 2020-01-07T18:28:15.416+01:00 - thermostat - C - 2019-08-24T14:39:10.425+02:00 - - 18.00 - - - - 2020-01-11T19:46:25.151+01:00 - temperature - C - 2019-09-27T22:39:15.912+02:00 - - 17.43 - - - - - - 2020-01-07T18:28:15.417+01:00 - thermostat - 18 - 0 - 99.99 - 0.01 - - - - - - Thermostatic Radiator Valve 000D6F000B2142D0 - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-08-24T14:24:28.256+02:00 - 2020-01-11T19:40:42.852+01:00 - - - - - - 2020-01-11T19:40:42.840+01:00 - temperature - C - 2020-01-11T19:40:42.840+01:00 - - 19.41 - - - - - 2020-01-11T19:40:42.840+01:00 - uncorrected_temperature - C - 2020-01-11T19:40:42.840+01:00 - - 19.41 - - - - - 2020-01-11T19:41:10.299+01:00 - temperature_difference - C - 2020-01-11T19:26:41.855+01:00 - - 1.60 - - - - - 2019-10-05T01:43:16.560+02:00 - temperature_offset - C - 2019-08-26T19:48:00.676+02:00 - - 0.00 - - - - - 2020-01-11T19:36:53.215+01:00 - valve_position - - 2020-01-11T15:45:17.502+01:00 - - 1.00 - - - - - 2020-01-11T09:27:15.691+01:00 - battery - - 2020-01-11T09:27:15.691+01:00 - - 0.67 - - - - - 2020-01-10T16:00:24.100+01:00 - thermostat - C - 2020-01-10T16:00:24.100+01:00 - - 20.00 - - - - - - - - 2019-10-05T01:43:16.560+02:00 - temperature_offset - 0 - - - 2020-01-10T16:00:24.101+01:00 - thermostat - 20 - 0 - 99.99 - 0.01 - - - - - - - Bathroom - - bathroom - 2019-10-05T01:03:10.423+02:00 - 2020-01-11T19:37:13.733+01:00 - - asleep - - - - - - - 2020-01-11T11:00:00.442+01:00 - thermostat - C - - - 17.00 - - - - 2020-01-11T19:37:13.718+01:00 - temperature - C - - - 19.31 - - - - - - 2020-01-11T11:00:00.443+01:00 - thermostat - 17 - 0 - 99.99 - 0.01 - - - - - - OpenThermGateway - An OpenTherm Gateway - open_therm_gateway - 2017-08-10T11:57:37.012+02:00 - 2019-08-05T14:16:28.504+02:00 - - - - - 2019-10-05T01:30:50.083+02:00 - open_therm_power_mode - - 2019-08-05T14:16:28.485+02:00 - - 0 - - - - - 2019-10-05T01:30:45.187+02:00 - override_mode - - 2018-11-16T11:01:47.010+01:00 - - on - - - - - - - - Gateway D40FB201C486 - Container for variables logged about the Gateway in general. - gateway - 2018-11-16T11:01:51.093+01:00 - 2019-10-05T01:30:42.439+02:00 - - - - - 2019-10-05T01:06:35.127+02:00 - link_quality - - 2019-10-05T01:01:34.864+02:00 - - 66 - - - - - 2019-10-05T01:30:48.063+02:00 - lan_state - - 2019-10-05T01:01:10.369+02:00 - - up - - - - - 2019-10-05T01:30:39.480+02:00 - wlan_ip_address - - 2019-10-05T01:22:18+02:00 - - 0.0.0.0 - - - - - 2019-10-05T01:30:42.422+02:00 - wlan_state - - 2019-10-05T01:30:42.422+02:00 - - down - - - - - 2019-10-05T01:06:35.127+02:00 - signal_strength - dBm - 2019-10-05T01:01:34.864+02:00 - - -44.00 - - - - - 2019-10-05T01:30:48.063+02:00 - lan_ip_address - - 2019-08-24T21:27:04+02:00 - - 127.0.0.1 - - - - - - - - Central heating boiler - - heater_central - 2019-08-23T16:01:45.503+02:00 - 2020-01-11T19:08:22.971+01:00 - - - - - 2020-01-11T17:10:11+01:00 - burner_efficiency - s - 2020-01-11T17:10:11+01:00 - - 4899 - - - - - 2019-10-05T01:09:39.631+02:00 - modulation_level - - 2019-10-05T01:09:39.631+02:00 - - 0.00 - - - - - 2020-01-11T15:00:00+01:00 - burner_efficiency - s - 2020-01-11T15:00:00+01:00 - PT1H - - 4979 - - - - - 2019-08-23T16:01:52.608+02:00 - heating_curve_high_temperature - C - 2019-08-23T16:01:52.608+02:00 - - 20.00 - - - - - - intended_central_heating_state - - - - - - 2020-01-11T19:08:22.971+01:00 - intended_boiler_temperature - C - 2020-01-11T17:10:11.608+01:00 - - 80.00 - - - - - 2019-08-23T16:01:50.724+02:00 - heating_curve_low_temperature - C - 2019-08-23T16:01:50.724+02:00 - - -10.00 - - - - - 2020-01-11T19:00:00+01:00 - boiler_temperature - C - 2020-01-15T04:00:00+01:00 - - 80.00 - - - - - 2019-08-24T14:59:03.941+02:00 - regulation_state - - 2019-08-24T14:59:03.941+02:00 - - on - - - - - - burner_operation_time - s - - PT1H - - - - 2020-01-11T17:10:11.623+01:00 - central_heating_state - - 2020-01-11T17:10:11.623+01:00 - - on - - - - - 2019-08-23T16:01:53.606+02:00 - heating_curve_high_setpoint - C - 2019-08-23T16:01:53.606+02:00 - - 80.00 - - - - - 2019-08-23T16:01:51.636+02:00 - heating_curve_low_setpoint - C - 2019-08-23T16:01:51.636+02:00 - - 80.00 - - - - - - - 2019-08-23T16:01:52.609+02:00 - heating_curve_high_temperature - 20 - 10 - 40 - 1 - - - - - 2019-08-23T16:01:50.725+02:00 - heating_curve_low_temperature - -10 - -30 - 10 - 1 - - - - - - 2019-08-24T14:59:03.941+02:00 - regulation_state - on - - - 2019-08-23T16:01:51.637+02:00 - heating_curve_low_setpoint - 80 - 10 - 90 - 1 - - - - - 2019-08-23T16:01:53.607+02:00 - heating_curve_high_setpoint - 80 - 20 - 90 - 1 - - - - - - - Thermostatic Radiator Valve 000D6F000C96A82F - A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint. - thermostatic_radiator_valve - 2019-08-24T12:57:33.457+02:00 - 2020-01-11T19:42:16.730+01:00 - - - - - - 2020-01-11T19:29:20.576+01:00 - valve_position - - 2020-01-11T11:45:19.456+01:00 - - 0.00 - - - - - 2020-01-11T19:42:16.724+01:00 - temperature - C - 2020-01-11T19:42:16.724+01:00 - - 22.42 - - - - - 2020-01-11T19:29:10.067+01:00 - temperature_difference - C - 2020-01-11T19:29:10.067+01:00 - - 0.40 - - - - - 2020-01-11T09:00:00.867+01:00 - thermostat - C - 2020-01-11T09:00:00.867+01:00 - - 20.00 - - - - - 2019-10-05T01:33:59.209+02:00 - temperature_offset - C - 2019-08-24T12:57:39.689+02:00 - - 0.00 - - - - - 2020-01-11T19:42:16.724+01:00 - uncorrected_temperature - C - 2020-01-11T19:42:16.724+01:00 - - 22.42 - - - - - - - - 2019-10-05T01:33:59.209+02:00 - temperature_offset - 0 - - - 2020-01-11T09:00:00.868+01:00 - thermostat - 20 - 0 - 99.99 - 0.01 - - - - - - - diff --git a/userdata/adam_living_floor_plus_3_rooms/core.domain_objects.xml b/userdata/adam_living_floor_plus_3_rooms/core.domain_objects.xml deleted file mode 100644 index 5edc325bd..000000000 --- a/userdata/adam_living_floor_plus_3_rooms/core.domain_objects.xml +++ /dev/null @@ -1,1736 +0,0 @@ - - - - - - - - 2018-11-16T11:01:42.940+01:00 - 2018-11-16T11:01:45.126+01:00 - - - - - - - - - - - - - - - - - - - - - Thermostat presets - Provides presets for a Location. -