From 923682cd7cf11cc302f2bccde10f528a46527d58 Mon Sep 17 00:00:00 2001 From: giogua Date: Wed, 30 Aug 2023 17:32:49 +0200 Subject: [PATCH 1/2] Add Bticino MyHome Server 1 scopes Added scopes "read_mhs1" and "write_mhs1" for the management of Bticino MyHome Server 1 modules --- src/pyatmo/const.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyatmo/const.py b/src/pyatmo/const.py index 712ff165..9af3bac6 100644 --- a/src/pyatmo/const.py +++ b/src/pyatmo/const.py @@ -67,6 +67,7 @@ "read_smokedetector", # Smart Smoke Alarm information and events "read_station", # Netatmo weather station "read_thermostat", # Netatmo climate products + "read_mhs1", # Bticino MyHome Server 1 modules "write_bubendorff", # Bubbendorf shutters "write_camera", # Netatmo camera products "write_magellan", # Legrand Wiring device or Electrical panel products @@ -74,6 +75,7 @@ "write_presence", # Netatmo Smart Outdoor Camera "write_smarther", # Smarther products "write_thermostat", # Netatmo climate products + "write_mhs1", # Bticino MyHome Server 1 modules ] MANUAL = "manual" From d9394f33cb8c250ed0d409b446fa32d8e6edfbba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 15:33:41 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pyatmo/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyatmo/const.py b/src/pyatmo/const.py index 9af3bac6..49b139a5 100644 --- a/src/pyatmo/const.py +++ b/src/pyatmo/const.py @@ -67,7 +67,7 @@ "read_smokedetector", # Smart Smoke Alarm information and events "read_station", # Netatmo weather station "read_thermostat", # Netatmo climate products - "read_mhs1", # Bticino MyHome Server 1 modules + "read_mhs1", # Bticino MyHome Server 1 modules "write_bubendorff", # Bubbendorf shutters "write_camera", # Netatmo camera products "write_magellan", # Legrand Wiring device or Electrical panel products @@ -75,7 +75,7 @@ "write_presence", # Netatmo Smart Outdoor Camera "write_smarther", # Smarther products "write_thermostat", # Netatmo climate products - "write_mhs1", # Bticino MyHome Server 1 modules + "write_mhs1", # Bticino MyHome Server 1 modules ] MANUAL = "manual"