Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit f146b6a

Browse files
committed
Prints out device model and instance id if defined
Bug: 70533914 Change-Id: I670b0fb09391bb7d3c6ee9af9a01064935bb58d1
1 parent 96a583e commit f146b6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google-assistant-sdk/googlesamples/assistant/grpc/pushtotalk.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,9 @@ def onoff(on):
371371
device = json.load(f)
372372
device_id = device['id']
373373
device_model_id = device['model_id']
374+
logging.info("Using device model %s and device id %s",
375+
device_model_id,
376+
device_id)
374377
except Exception as e:
375378
logging.warning('Device config not found: %s' % e)
376379
logging.info('Registering device')

0 commit comments

Comments
 (0)