-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle_assistant.yaml
83 lines (83 loc) · 1.95 KB
/
google_assistant.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#######################################
# #
# Google Assistant #
# #
#######################################
#
#
# Split out google assistant config to avoid mistakes
# cleaner config here will let you control domains better also
#
#
project_id: !secret goog_project_id
client_id: !secret goog_client_id
access_token: !secret goog_access_token
agent_user_id: !secret goog_agent_user_id
api_key: !secret goog_api_key
#
#
# The logic on this code is whacked... expose must be set to true
# so that you can then "whitelist" with "exposed_domains"
#
# any entities still not exposed after that check..
# can be exposed one by one in entity_config
#
#
expose_by_default: true
exposed_domains:
- light
- script
- cover
# - switch
# - group
entity_config:
light.foyer:
name: foyer
# expose: true
aliases:
- the bomb trigger
# GA only accepts one alias per entity
# and GA *always* uses the alias name when it speaks
# even though you can use either name
# - larry
# - moe
# - curly
group.family_room:
expose: true
group.kitchen:
expose: true
group.upstairs:
expose: true
switch.tv_on:
expose: true
switch.tv_off:
expose: true
switch.tv_ok:
expose: true
switch.onkyo_on:
expose: true
switch.onkyo_off:
expose: true
switch.onkyo_video1:
expose: true
switch.onkyo_video2:
expose: true
switch.onkyo_levelchselect:
expose: true
switch.onkyo_levelup:
expose: true
switch.onkyo_leveldown:
expose: true
switch.onkyo_mute:
expose: true
switch.tv_netflix:
expose: true
# sensors are not picked up by GA component
# sensor.reed_switch:
# expose: true
# sensor.reed_switch:
# expose: true
# type: switch
# alias: myreed
# switch.reed_switch:
# expose: true