File tree 2 files changed +6
-6
lines changed
googlesamples/assistant/grpc
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 62
62
"name" : " $Speed" ,
63
63
"entities" : [
64
64
{
65
- "key" : " slowly " ,
65
+ "key" : " SLOWLY " ,
66
66
"synonyms" : [
67
67
" slowly" ,
68
68
" slow"
69
69
]
70
70
},
71
71
{
72
- "key" : " normally " ,
72
+ "key" : " NORMALLY " ,
73
73
"synonyms" : [
74
74
" normally" ,
75
75
" regular"
76
76
]
77
77
},
78
78
{
79
- "key" : " quickly " ,
79
+ "key" : " QUICKLY " ,
80
80
"synonyms" : [
81
81
" quickly" ,
82
82
" fast" ,
86
86
]
87
87
}
88
88
]
89
- }
89
+ }
Original file line number Diff line number Diff line change @@ -429,9 +429,9 @@ def onoff(on):
429
429
def blink (speed , number ):
430
430
logging .info ('Blinking device %s times.' % number )
431
431
delay = 1
432
- if speed == "slowly " :
432
+ if speed == "SLOWLY " :
433
433
delay = 2
434
- elif speed == "quickly " :
434
+ elif speed == "QUICKLY " :
435
435
delay = 0.5
436
436
for i in range (int (number )):
437
437
logging .info ('Device is blinking.' )
You can’t perform that action at this time.
0 commit comments