diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-05-18 05:12:35 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-05-18 05:12:35 +0300 |
commit | 2960f9f09a9991e342a676999e498b08affa4dff (patch) | |
tree | 3198fed18a400588bb38dd1e523b0e50ba07917b /src/home/api/web_api_client.py | |
parent | c0111bf4d3dd91f54d27346970e4c6e0a1ce357e (diff) |
openwrt: home side changes
Diffstat (limited to 'src/home/api/web_api_client.py')
-rw-r--r-- | src/home/api/web_api_client.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/home/api/web_api_client.py b/src/home/api/web_api_client.py index ca9a9ee..6677182 100644 --- a/src/home/api/web_api_client.py +++ b/src/home/api/web_api_client.py @@ -66,9 +66,11 @@ class WebAPIClient: }) def log_openwrt(self, - lines: List[Tuple[int, str]]): + lines: List[Tuple[int, str]], + access_point: int): return self._post('log/openwrt/', { - 'logs': stringify(lines) + 'logs': stringify(lines), + 'ap': access_point }) def get_sensors_data(self, |