-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathSettings.ps1
More file actions
32 lines (29 loc) · 1.02 KB
/
Settings.ps1
File metadata and controls
32 lines (29 loc) · 1.02 KB
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
# Configure the variables below that will be used in the script
$HAToken = "<Insert token>" # Example: eyJ0eXAiOiJKV1...
$HAUrl = "<HA URL>" # Example: https://yourha.duckdns.org
$LocalUsername = "<UserName>" # Example: your.username
# Set language variables below
$lgAvailable = "Availabble"
$lgBusy = "Busy"
$lgOnThePhone = "In a call"
$lgAway = "Away"
$lgBeRightBack = "Be right back"
$lgDoNotDisturb = "Do not disturb"
$lgPresenting = "Presenting"
$lgFocusing = "Focusing"
$lgInAMeeting = "In a meeting"
$lgOffline = "Offline"
$lgNotInACall = "Not in a call"
$lgInACall = "In a call"
$lgIncomingCall = "Incoming call"
$lgOutgoingCall = "Outgoing call"
# Set icons to use for call activity
$iconInACall = "mdi:phone-in-talk"
$iconNotInACall = "mdi:phone-off"
$iconIncomingCall = "mdi:phone-ring"
$iconOutgoingCall = "mdi:phone-outgoing"
# Set entities to post to
$entityStatus = "sensor.teams_status"
$entityStatusName = "Microsoft Teams status"
$entityActivity = "sensor.teams_activity"
$entityActivityName = "Microsoft Teams activity"