From 77e49d8c9cb030e896c3bdf86e402b385ef2eed7 Mon Sep 17 00:00:00 2001 From: Keith <35663116+keithnet@users.noreply.github.com> Date: Thu, 19 Jan 2023 15:45:14 -0600 Subject: [PATCH 1/5] Update config.py Added WarmTiles --- nuheat/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nuheat/config.py b/nuheat/config.py index d5329b6..a4d81c5 100644 --- a/nuheat/config.py +++ b/nuheat/config.py @@ -1,9 +1,11 @@ NUHEAT = "NUHEAT" MAPEHEAT = "MAPEHEAT" -BRANDS = (NUHEAT, MAPEHEAT) +WARMTILES = "WARMTITLES" +BRANDS = (NUHEAT, MAPEHEAT, WARMTILES) HOSTNAMES = { NUHEAT: "mynuheat.com", MAPEHEAT: "mymapeheat.com", + WARMTILES: "warmtiles.mythermostat.info", } # NuHeat Schedule Modes From 7bf0fb6a8121115b6682a87a8dadcb635aa66bf1 Mon Sep 17 00:00:00 2001 From: Keith <35663116+keithnet@users.noreply.github.com> Date: Thu, 19 Jan 2023 15:47:11 -0600 Subject: [PATCH 2/5] Update test_nuheat.py Added WarmTiles --- tests/test_nuheat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_nuheat.py b/tests/test_nuheat.py index 878faba..2a48f86 100644 --- a/tests/test_nuheat.py +++ b/tests/test_nuheat.py @@ -17,6 +17,7 @@ class TestNuHeat(NuTestCase): ("NUHEAT", "mynuheat.com"), ("BAD-BRAND", "mynuheat.com"), ("MAPEHEAT", "mymapeheat.com"), + ("WARMTILES", "warmtiles.mythermostat.info"), ]) def test_brands(self, brand, hostname): api = NuHeat("test@example.com", "secure-password", brand=brand) From c2b57e836f25351f93eb3833c6f033446a33689a Mon Sep 17 00:00:00 2001 From: Keith <35663116+keithnet@users.noreply.github.com> Date: Thu, 19 Jan 2023 15:47:55 -0600 Subject: [PATCH 3/5] Update test_thermostat.py Added WarmTiles --- tests/test_thermostat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_thermostat.py b/tests/test_thermostat.py index 3dac0d9..12979c0 100644 --- a/tests/test_thermostat.py +++ b/tests/test_thermostat.py @@ -27,6 +27,7 @@ def test_init(self, _): ("NUHEAT", "mynuheat.com"), ("BAD-BRAND", "mynuheat.com"), ("MAPEHEAT", "mymapeheat.com"), + ("WARMTILES", "warmtiles.mythermostat.info"), ]) @patch("nuheat.NuHeatThermostat.get_data") def test_brand_urls(self, brand, hostname, _): From 647d6309d97db5820121409738a18284ecf97a05 Mon Sep 17 00:00:00 2001 From: Keith <35663116+keithnet@users.noreply.github.com> Date: Thu, 19 Jan 2023 15:49:34 -0600 Subject: [PATCH 4/5] Update README.md added info on Warm Tiles --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54cfa40..5bf7a4c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A Python 3 library that allows control of connected [NuHeat Signature](http://www.nuheat.com/products/thermostats/signature-thermostat) radiant floor thermostats. -This also supports the **Mapei MapeHeat** line of smart thermostats. +This also supports the **Mapei MapeHeat** and **Emerson Warm Tiles** line of smart thermostats. * This uses the web-based NuHeat API, so it requires an external internet connection * The API in use is not an officially published API, so it could change without notice @@ -30,7 +30,7 @@ from nuheat import NuHeat api = NuHeat("email@example.com", "your-secure-password") api.authenticate() -# Initialize an API session for a specific brand +# Initialize an API session for a specific brand (Current choices are NUHEAT, MAPEHEAT and WARMTILES) api = NuHeat("email@example.com", "your-secure-password", brand="MAPEHEAT") api.authenticate() From 4f434d6921286f12f4d79c19573f58425f5825d3 Mon Sep 17 00:00:00 2001 From: Keith <35663116+keithnet@users.noreply.github.com> Date: Thu, 19 Jan 2023 18:50:13 -0600 Subject: [PATCH 5/5] Update nuheat/config.py Fixed typo Co-authored-by: Derek Brooks --- nuheat/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuheat/config.py b/nuheat/config.py index a4d81c5..dc34f3c 100644 --- a/nuheat/config.py +++ b/nuheat/config.py @@ -1,6 +1,6 @@ NUHEAT = "NUHEAT" MAPEHEAT = "MAPEHEAT" -WARMTILES = "WARMTITLES" +WARMTILES = "WARMTILES" BRANDS = (NUHEAT, MAPEHEAT, WARMTILES) HOSTNAMES = { NUHEAT: "mynuheat.com",