[ { "id": "Network Rack Fan Control", "result": { "structured": "TRIGGER: When network rack inside temperature sensor [sensor.esphrack_inside_temperature] changes state. CONDITIONS: None. ACTIONS: If network rack inside temperature sensor [sensor.esphrack_inside_temperature] is above 34.9, turn on server fan 2 [switch.srvfan2]; else if network rack inside temperature sensor [sensor.esphrack_inside_temperature] is below 35, turn off server fan 2 [switch.srvfan2]. Separately, if network rack inside temperature sensor [sensor.esphrack_inside_temperature] is above 29.9, turn on server fan 1 [switch.srvfan1]; else if network rack inside temperature sensor [sensor.esphrack_inside_temperature] is below 29, turn off server fan 1 [switch.srvfan1].", "natural_language": { "trigger": "Whenever the network rack inside temperature sensor [sensor.esphrack_inside_temperature] reports a new temperature value.", "conditions": "There are no conditions that must be met before the actions are performed.", "action": "The automation checks the temperature and controls two fans independently. For server fan 2 [switch.srvfan2], it turns the fan on if the temperature rises above 34.9 degrees, and turns it off if the temperature falls below 35 degrees. For server fan 1 [switch.srvfan1], it turns the fan on if the temperature rises above 29.9 degrees, and turns it off if the temperature falls below 29 degrees." }, "human_like": "Automatically controls the network rack fans based on the internal temperature to prevent overheating.", "complexity": "medium" } } ]