Triggers require a change. For your trigger to fire, the temperature has to change from below 23 to above 23. If the temperature is already above your set point when you save/load the automation the trigger will not fire until the temperature has dropped below the set point.
To test an automation there’s three stages you can follow. Testing the action, the condition and action, and the whole automation:
Use Configuration → Automations to find the automation and then select Run in the three dots menu. If this fails your problem is in the action: section, and details should be found in your log file
Use Developer tools → Services and call automation.trigger on the automation with skip_condition: false . If the first passes but this fails then the problem is in your condition: block
Use Developer tools → States to find the trigger entity, click the name, then change the state (at the top) to something that’ll trigger the automation before pushing Set State . If this fails then the problem is with your trigger: section, or the automation is turned off (you can check that in Automations, automations that are turned off will show Disabled ) You can also see this section in the docs about testing and automation traces.