Skip to content

Commit

Permalink
Services Translation Update for Hassfest.
Browse files Browse the repository at this point in the history
  • Loading branch information
njobrien committed Oct 6, 2023
1 parent 8e9875b commit 5121f27
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 41 deletions.
36 changes: 21 additions & 15 deletions custom_components/traeger/services.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
set_custom_cook:
name: Set Cook Cycle
description: Set Custom Cook Cycle Steps
fields:
entity_id:
description: "Number Entity that serves Custom Cook Steps."
Expand All @@ -12,9 +10,8 @@ set_custom_cook:
integration: traeger
domain: number
steps:
description: |
List of steps to perform.
required: true
#Checkout https://github.com/njobrien1006/hass_traeger/blob/master/config/.storage/lovelace#L126 for more examples.
default:
- #1 Set temp and smoke, advance on probe fired, or act_temp_adv
set_temp: 180 #Set grill temp
Expand Down Expand Up @@ -53,23 +50,32 @@ set_custom_cook:
selector:
object:
set_temp:
description: "Set Grill Temp. *Only up to your grill's MaxTemp."
required: false
example: 180
smoke:
description: "Set Smoke Mode 1 or 0. *Only Avail if grill supports"
required: false
example: 1
keepwarm:
description: "Set keepwarm, Mode 1 or 0."
required: false
example: 0
time_set:
description: "Set Timer in Minutes."
required: false
example: 60
use_timer:
description: "Use Timer to Advance State. *Only applies to current state."
required: false
example: 1
min_delta:
description: "Min DELTA temp between Grill and Probe. *Requires `max_grill_delta_temp`."
required: false
example: 30
max_grill_delta_temp:
description: "Max Temp it will increase to from probe `min_delta`. *Requires `min_delta`."
required: false
example: 250
act_temp_adv:
description: "Grill Temp at which the State will advance."
required: false
example: 400
probe_act_temp_adv:
description: "Probe Temp at which the State will advance."
required: false
example: 180
shutdown:
description: "Call Grill Shutdown."

required: false
example: 1
104 changes: 78 additions & 26 deletions custom_components/traeger/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,84 @@
{
"config": {
"step": {
"user": {
"description": "If you need help with the configuration have a look here: https://github.com/njobrien1006/hass_traeger/issues",
"data": {
"username": "Username",
"password": "Password"
}
}
},
"error": {
"auth": "Username/Password is wrong."
},
"abort": {
"single_instance_allowed": "Only a single configuration of Traeger is allowed."
"config": {
"step": {
"user": {
"description": "If you need help with the configuration have a look here: https://github.com/njobrien1006/hass_traeger/issues",
"data": {
"username": "Username",
"password": "Password"
}
}
},
"error": {
"auth": "Username/Password is wrong."
},
"abort": {
"single_instance_allowed": "Only a single configuration of Traeger is allowed."
}
},
"options": {
"step": {
"user": {
"data": {
"sensor": "Sensors enabled",
"climate": "Climate entity enabled",
"switch": "Switch entity enabled",
"number": "Number entity enabled",
"binary_sensor": "Binary Sensors enabled"
}
}
"step": {
"user": {
"data": {
"sensor": "Sensors enabled",
"climate": "Climate entity enabled",
"switch": "Switch entity enabled",
"number": "Number entity enabled",
"binary_sensor": "Binary Sensors enabled"
}
}
}
},
"services": {
"set_custom_cook": {
"name": "Set Cook Cycle",
"description": "Set Custom Cook Cycle Steps",
"fields": {
"steps": {
"name": "Steps",
"description": "List of steps to perform."
},
"set_temp": {
"name": "Set Temp",
"description": "Set Grill Temp.____________________________Only up to your grill's MaxTemp."
},
"smoke": {
"name": "Set S.Smoke Mode",
"description": "Set Smoke Mode 1 or 0._________________________Only Avail if grill supports"
},
"keepwarm": {
"name": "Set KeepWarm Mode",
"description": "Set keepwarm, Mode 1 or 0."
},
"time_set": {
"name": "Set Timer",
"description": "Set Timer in Minutes."
},
"use_timer": {
"name": "Use Timer",
"description": "Use Timer to Advance State._________________*Only applies to current state."
},
"min_delta": {
"name": "Min Probe/Grill Delta",
"description": "Min DELTA temp between Grill and Probe.___*Requires `max_grill_delta_temp`."
},
"max_grill_delta_temp": {
"name": "Max Grill Set.Temp for Delta",
"description": "Max Temp it will increase to from probe `min_delta`. *Requires `min_delta`."
},
"act_temp_adv": {
"name": "Actual Grill Temp for Advance",
"description": "Grill Temp at which the State will advance."
},
"probe_act_temp_adv": {
"name": "Actual Probe Temp for Advance",
"description": "Probe Temp at which the State will advance."
},
"shutdown": {
"name": "Command Shutdown",
"description": "Call Grill Shutdown."
}
}
}
}
}
}

0 comments on commit 5121f27

Please sign in to comment.