The error is “Provided temperature 83.0 is not valid. Accepted range is 141.8 to 186.8”
This makes no sense, no HVAC I know of could have such a temperature range in F or C.
Context:
The script basically turns the HVAC to cool and sets the temperature (83) based on a schedule meta data to all four using the new actions across an area. It also manages the display lighting so it’s not left on attracting bugs as Samsung resets this to on for any mode change with no way to leave it off.
I have been running an automation/script for several months without a problem. This last week I noticed that it started to fail when turning on. There are four mini splits that are controlled and scheduled by HA. Two still work fine, but two are now have an error that makes no sense and I am trying to diagnose this.
If I directly control one turning it on to “cool” within HA through the Smarthings card, they react without an error.
AC 1 and AC 4 both still work correctly and turn on to cool with the correct temperature.
AC 2 and AC 3 both do not turn on through the script.
Here is the script that gets run…
sequence:
- action: automation.turn_on
metadata: {}
target:
entity_id: automation.on_schedule_garage_ac
data: {}
- if:
- condition: schedule.is_on
target:
entity_id: schedule.garage_temps
options:
for: '00:00:00'
then:
- sequence:
- action: climate.set_temperature
metadata: {}
target:
area_id: garage
data:
hvac_mode: '{{ state_attr(''schedule.garage_temps'', ''mode'') }}'
temperature: >-
{{ state_attr('schedule.garage_temps', 'temperature')|float(0)
}}
continue_on_error: true
- action: timer.start
metadata: {}
target:
entity_id: timer.garage_ac_displays_off
data: {}
- action: switch.turn_on
metadata: {}
target:
entity_id:
- switch.ac_1_mezzanine_display_lighting
- switch.ac_2_display_lighting
- switch.ac_3_display_lighting
- switch.ac_4_display_lighting
data: {}
continue_on_error: true
else:
- action: climate.set_hvac_mode
metadata: {}
target:
area_id: garage
data:
hvac_mode: 'off'
continue_on_error: true
alias: Resume HVAC Schedule
description: ''
Here is the trace from a failed run
{
"trace": {
"last_step": "sequence/1/then/0/sequence/2",
"run_id": "387cdb760c2b99628a8f616c3b900646",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2026-09-04T15:59:51.686238+00:00",
"finish": "2026-09-04T15:59:54.110087+00:00"
},
"domain": "script",
"item_id": "resume_hvac_schedule",
"trace": {
"sequence/0": [
{
"path": "sequence/0",
"timestamp": "2026-09-04T15:59:51.686646+00:00",
"changed_variables": {
"this": {
"entity_id": "script.resume_hvac_schedule",
"state": "off",
"attributes": {
"last_triggered": "2026-09-04T15:00:00.607606+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Resume HVAC Schedule"
},
"last_changed": "2026-09-04T15:00:03.924730+00:00",
"last_reported": "2026-09-04T15:00:03.924730+00:00",
"last_updated": "2026-09-04T15:00:03.924730+00:00",
"context": {
"id": "01M1PEY2C1S2VXGEE399SKXXYJ",
"parent_id": "01M1PEY2C1NP3CNM9C74AB5Q23",
"user_id": null
}
},
"context": {
"id": "01M1PJBNW66S3JMW3KBXSPGB0Z",
"parent_id": null,
"user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2"
}
},
"result": {
"params": {
"domain": "automation",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"automation.on_schedule_garage_ac"
]
}
},
"running_script": false
}
}
],
"sequence/1": [
{
"path": "sequence/1",
"timestamp": "2026-09-04T15:59:51.687888+00:00",
"result": {
"choice": "then"
}
}
],
"sequence/1/if": [
{
"path": "sequence/1/if",
"timestamp": "2026-09-04T15:59:51.687971+00:00",
"result": {
"result": true
}
}
],
"sequence/1/if/condition/0": [
{
"path": "sequence/1/if/condition/0",
"timestamp": "2026-09-04T15:59:51.688019+00:00",
"result": {
"result": true
}
}
],
"sequence/1/then/0": [
{
"path": "sequence/1/then/0",
"timestamp": "2026-09-04T15:59:51.688229+00:00"
}
],
"sequence/1/then/0/sequence/0": [
{
"path": "sequence/1/then/0/sequence/0",
"timestamp": "2026-09-04T15:59:51.688374+00:00",
"error": "Provided temperature 83.0 is not valid. Accepted range is 141.8 to 186.8",
"result": {
"params": {
"domain": "climate",
"service": "set_temperature",
"service_data": {
"hvac_mode": "cool",
"temperature": 83,
"area_id": [
"garage"
]
},
"target": {
"area_id": [
"garage"
]
}
},
"running_script": false
}
}
],
"sequence/1/then/0/sequence/1": [
{
"path": "sequence/1/then/0/sequence/1",
"timestamp": "2026-09-04T15:59:53.360868+00:00",
"result": {
"params": {
"domain": "timer",
"service": "start",
"service_data": {},
"target": {
"entity_id": [
"timer.garage_ac_displays_off"
]
}
},
"running_script": false
}
}
],
"sequence/1/then/0/sequence/2": [
{
"path": "sequence/1/then/0/sequence/2",
"timestamp": "2026-09-04T15:59:53.361798+00:00",
"result": {
"params": {
"domain": "switch",
"service": "turn_on",
"service_data": {},
"target": {
"entity_id": [
"switch.ac_1_mezzanine_display_lighting",
"switch.ac_2_display_lighting",
"switch.ac_3_display_lighting",
"switch.ac_4_display_lighting"
]
}
},
"running_script": false
}
}
]
},
"config": {
"sequence": [
{
"action": "automation.turn_on",
"metadata": {},
"target": {
"entity_id": "automation.on_schedule_garage_ac"
},
"data": {}
},
{
"if": [
{
"condition": "schedule.is_on",
"target": {
"entity_id": "schedule.garage_temps"
},
"options": {
"for": "00:00:00"
}
}
],
"then": [
{
"sequence": [
{
"action": "climate.set_temperature",
"metadata": {},
"target": {
"area_id": "garage"
},
"data": {
"hvac_mode": "{{ state_attr('schedule.garage_temps', 'mode') }}",
"temperature": "{{ state_attr('schedule.garage_temps', 'temperature')|float(0) }}"
},
"continue_on_error": true
},
{
"action": "timer.start",
"metadata": {},
"target": {
"entity_id": "timer.garage_ac_displays_off"
},
"data": {}
},
{
"action": "switch.turn_on",
"metadata": {},
"target": {
"entity_id": [
"switch.ac_1_mezzanine_display_lighting",
"switch.ac_2_display_lighting",
"switch.ac_3_display_lighting",
"switch.ac_4_display_lighting"
]
},
"data": {},
"continue_on_error": true
}
]
}
],
"else": [
{
"action": "climate.set_hvac_mode",
"metadata": {},
"target": {
"area_id": "garage"
},
"data": {
"hvac_mode": "off"
},
"continue_on_error": true
}
]
}
],
"alias": "Resume HVAC Schedule",
"description": ""
},
"blueprint_inputs": null,
"context": {
"id": "01M1PJBNW66S3JMW3KBXSPGB0Z",
"parent_id": null,
"user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2"
}
},
"logbookEntries": [
{
"state": "on",
"entity_id": "script.resume_hvac_schedule",
"when": 1788537591.6864436,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2"
},
{
"state": "on",
"entity_id": "automation.on_schedule_garage_ac",
"when": 1788537591.6876903,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "cool",
"entity_id": "climate.ac_4",
"when": 1788537592.9679701,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "active",
"entity_id": "timer.garage_ac_displays_off",
"when": 1788537593.3615022,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "cool",
"entity_id": "climate.ac_1_mezzanine",
"when": 1788537593.368711,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "on",
"entity_id": "switch.ac_1_mezzanine_display_lighting",
"when": 1788537593.608199,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "off",
"entity_id": "script.resume_hvac_schedule",
"when": 1788537594.109124,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "on",
"entity_id": "switch.ac_2_display_lighting",
"when": 1788537594.4361377,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
},
{
"state": "on",
"entity_id": "switch.ac_3_display_lighting",
"when": 1788537594.6284342,
"context_user_id": "6fbc6d7453c54ca7b734d02f1b3cbcd2",
"context_state": "on",
"context_entity_id": "script.resume_hvac_schedule"
}
]
}

