From eaf2f2af65e5212ba4021bce411557fca3844f26 Mon Sep 17 00:00:00 2001 From: Juan Pablo de Castro Date: Wed, 20 Dec 2023 21:48:58 +0100 Subject: [PATCH] Add H3600P model. --- README.md | 3 ++- custom_components/zte_tracker/const.py | 2 +- custom_components/zte_tracker/manifest.json | 2 +- custom_components/zte_tracker/zteclient/__init__.py | 2 +- custom_components/zte_tracker/zteclient/zte_client.py | 2 ++ 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2745481..fff9bd2 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Component to integrate some ZTE routers as a device trackers in home assistant. | ZTE H169A | H169A | | ZTE H388X | H388X | | ZTE H2640 | H2640 | +| ZTE H3600P | H3600P | This integration could work with more routers. Try one of the above and see if it work with yours. @@ -68,4 +69,4 @@ For more information about the device_tracker parameters visit the official [Hom ## Contributors -- Thanks to @gselivanof for H288A, H169A models support, @TrinTragula for H388X verification, @kvshino for H2640 verification, @dapuzz for G6645P verification. +- Thanks to @gselivanof for H288A, H169A models support, @TrinTragula for H388X verification, @kvshino for H2640 verification, @dapuzz for G6645P verification, @onegambler for H3600P verification. diff --git a/custom_components/zte_tracker/const.py b/custom_components/zte_tracker/const.py index f46e7d1..471036d 100644 --- a/custom_components/zte_tracker/const.py +++ b/custom_components/zte_tracker/const.py @@ -5,7 +5,7 @@ DOMAIN = "zte_tracker" DOMAIN_DATA = "{}_data".format(DOMAIN) -VERSION = "1.3.6" +VERSION = "1.3.7" PLATFORMS = ["sensor", "device_tracker"] ISSUE_URL = "https://github.com/juacas/zte_tracker/issues" DEFAULT_HOST = '192.168.1.1' diff --git a/custom_components/zte_tracker/manifest.json b/custom_components/zte_tracker/manifest.json index 1ad4ab0..7fe592f 100644 --- a/custom_components/zte_tracker/manifest.json +++ b/custom_components/zte_tracker/manifest.json @@ -6,5 +6,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/juacas/zte_tracker/issues", "requirements": [], - "version": "v1.3.6" + "version": "v1.3.7" } diff --git a/custom_components/zte_tracker/zteclient/__init__.py b/custom_components/zte_tracker/zteclient/__init__.py index 17ba6f9..946ffac 100644 --- a/custom_components/zte_tracker/zteclient/__init__.py +++ b/custom_components/zte_tracker/zteclient/__init__.py @@ -1,7 +1,7 @@ """ZTE client""" __author__ = "Juan Pablo de Castro (juan.pablo.de.castro@gmail.com)" -__version__ = "1.2.2" +__version__ = "1.2.3" __copyright__ = "Copyright (c) 2022 Juan Pablo de Castro" # Use of this source code is governed by the MIT license. __license__ = "MIT" diff --git a/custom_components/zte_tracker/zteclient/zte_client.py b/custom_components/zte_tracker/zteclient/zte_client.py index 094c1bf..f7bf201 100644 --- a/custom_components/zte_tracker/zteclient/zte_client.py +++ b/custom_components/zte_tracker/zteclient/zte_client.py @@ -29,6 +29,8 @@ _MODELS['H2640'] = _MODELS['H288A'] # Synonym F6645P is like F6640 _MODELS['F6645P'] = _MODELS['F6640'] +# Synonym H3600P is like H288A +_MODELS['H3600P'] = _MODELS['H288A'] class zteClient: def __init__(self, host, username, password,model): """Initialize the client."""