Try this:
{{ states('sensor.time') == (states.input_datetime.aircon_set_time.attributes.timestamp | int | timestamp_custom('%H:%M', False)) }}
Input datetimes have no time zone info (naive type). Have a read of this post: Time probelms
Dont think you need the | int filter either.