homebridge-kasa-python 2.5.12 → 2.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/python/kasaApi.py +2 -2
- package/package.json +1 -1
package/dist/python/kasaApi.py
CHANGED
|
@@ -206,8 +206,8 @@ def run_async(func, *args):
|
|
|
206
206
|
@app.route('/discover', methods=['POST'])
|
|
207
207
|
def discover():
|
|
208
208
|
auth = request.authorization
|
|
209
|
-
username = auth.username if auth else None
|
|
210
|
-
password = auth.password if auth else None
|
|
209
|
+
username = f'{auth.username}' if auth else None
|
|
210
|
+
password = f'{auth.password}' if auth else None
|
|
211
211
|
additional_broadcasts = request.json.get('additionalBroadcasts', [])
|
|
212
212
|
manual_devices = request.json.get('manualDevices', [])
|
|
213
213
|
app.logger.debug(f"Starting device discovery with additionalBroadcasts: {additional_broadcasts} and manualDevices: {manual_devices}")
|
package/package.json
CHANGED