Skip to content

Commit

Permalink
It's working for F6645P as well!! Fixes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
juacas committed Nov 10, 2023
1 parent f22a01e commit e509e4e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Component to integrate some ZTE routers as a device trackers in home assistant.
| Name | Model Param |
| ------------- |:-------------: |
| ZTE F6640 | F6640 |
| ZTE F6645P | F6640 |
| ZTE H288A | H288A |
| ZTE H169A | H169A |
| ZTE H388X | H388X |
Expand Down Expand Up @@ -67,4 +68,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.
- Thanks to @gselivanof for H288A, H169A models support, @TrinTragula for H388X verification, @kvshino for H2640 verification, @dapuzz for G6645P verification.
2 changes: 1 addition & 1 deletion custom_components/zte_tracker/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

DOMAIN = "zte_tracker"
DOMAIN_DATA = "{}_data".format(DOMAIN)
VERSION = "1.3.5"
VERSION = "1.3.6"
PLATFORMS = ["sensor", "device_tracker"]
ISSUE_URL = "https://github.com/juacas/zte_tracker/issues"
DEFAULT_HOST = '192.168.1.1'
Expand Down
2 changes: 1 addition & 1 deletion custom_components/zte_tracker/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/juacas/zte_tracker/issues",
"requirements": [],
"version": "v1.3.5"
"version": "v1.3.6"
}
2 changes: 1 addition & 1 deletion custom_components/zte_tracker/zteclient/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""ZTE client"""

__author__ = "Juan Pablo de Castro (juan.pablo.de.castro@gmail.com)"
__version__ = "1.2.0"
__version__ = "1.2.2"
__copyright__ = "Copyright (c) 2022 Juan Pablo de Castro"
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
2 changes: 1 addition & 1 deletion custom_components/zte_tracker/zteclient/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.2.1'
__version__ = '1.2.2'
__releasedate__ = '20230705'
3 changes: 2 additions & 1 deletion custom_components/zte_tracker/zteclient/zte_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
_MODELS['H388X'] = _MODELS['H288A']
# Synonym H2640 is like H388X
_MODELS['H2640'] = _MODELS['H288A']

# Synonym F6645P is like F6640
_MODELS['F6645P'] = _MODELS['F6640']
class zteClient:
def __init__(self, host, username, password,model):
"""Initialize the client."""
Expand Down

0 comments on commit e509e4e

Please sign in to comment.