Configuration has been moved to Settings.ps1

pull/22/head
EBOOZ 4 years ago
parent a414b1b23b
commit 3af32cf889

@ -23,33 +23,8 @@
# Configuring parameter for interactive run # Configuring parameter for interactive run
Param($SetStatus) Param($SetStatus)
# Configure the variables below that will be used in the script # Import Settings PowerShell script
$HAToken = "<Insert token>" # Example: eyJ0eXAiOiJKV1... . ($PSScriptRoot + "\Settings.ps1")
$UserName = "<UserName>" # When not sure, open a command prompt and type: echo %USERNAME%
$HAUrl = "<HAUrl>" # Example: https://yourha.duckdns.org
# Set language variables below
$lgAvailable = "Available"
$lgBusy = "Busy"
$lgOnThePhone = "On the phone"
$lgAway = "Away"
$lgBeRightBack = "Be right back"
$lgDoNotDisturb = "Do not disturb"
$lgFocusing = "Focusing"
$lgInAMeeting = "In a meeting"
$lgOffline = "Offline"
$lgNotInACall = "Not in a call"
$lgInACall = "In a call"
# Set icons to use for call activity
$iconInACall = "mdi:phone-in-talk-outline"
$iconNotInACall = "mdi:phone-off"
$iconMonitoring = "mdi:api"
# Set entities to post to
$entityStatus = "sensor.teams_status"
$entityActivity = "sensor.teams_activity"
$entityHeartbeat = "binary_sensor.teams_monitoring"
################################################################ ################################################################
# Don't edit the code below, unless you know what you're doing # # Don't edit the code below, unless you know what you're doing #

@ -0,0 +1,27 @@
# Configure the variables below that will be used in the script
$HAToken = "<Insert token>" # Example: eyJ0eXAiOiJKV1...
$UserName = "<UserName>" # When not sure, open a command prompt and type: echo %USERNAME%
$HAUrl = "<HAUrl>" # Example: https://yourha.duckdns.org
# Set language variables below
$lgAvailable = "Available"
$lgBusy = "Busy"
$lgOnThePhone = "On the phone"
$lgAway = "Away"
$lgBeRightBack = "Be right back"
$lgDoNotDisturb = "Do not disturb"
$lgFocusing = "Focusing"
$lgInAMeeting = "In a meeting"
$lgOffline = "Offline"
$lgNotInACall = "Not in a call"
$lgInACall = "In a call"
# Set icons to use for call activity
$iconInACall = "mdi:phone-in-talk-outline"
$iconNotInACall = "mdi:phone-off"
$iconMonitoring = "mdi:api"
# Set entities to post to
$entityStatus = "sensor.teams_status"
$entityActivity = "sensor.teams_activity"
$entityHeartbeat = "binary_sensor.teams_monitoring"
Loading…
Cancel
Save